commit | 5ba73e1af8ef519161bd40063dc325457e21676a | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Sat Feb 04 00:33:54 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Sat Feb 04 00:33:54 2012 +0000 |
tree | f6d895061d3ab21b383e3e555a94cfa61d770f1c | |
parent | c08c88c3cfc57b45ec1a9b4707b1f3df3108a639 [diff] |
constexpr: The recent support for potential constant expressions exposed a bug in the implementation of libstdc++4.6, where numeric_limits<int>::min() is defined as (int)1 << 31, which isn't a constant expression. Disable the 'constexpr function never produces a constant expression' error inside system headers to compensate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149729 91177308-0d34-0410-b5e6-96231b3b80d8