commit | c6d990a767150b02337de1136fdb55ccf349f4d1 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Sep 29 19:11:37 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Sep 29 19:11:37 2011 +0000 |
tree | cb8db222a1cf25c4dde7a9e9f5ded3c92965b4ad | |
parent | 97db7265ac1993e14e5877292e23d5ed2e9cf719 [diff] |
constexpr: semantic checking for constexpr variables. We had an extension which allowed const static class members of floating-point type to have in-class initializers, 'as a C++0x extension'. However, C++0x does not allow this. The extension has been kept, and extended to all literal types in C++0x mode (with a fixit to add the 'constexpr' specifier). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140801 91177308-0d34-0410-b5e6-96231b3b80d8