diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-09-29 19:11:37 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-09-29 19:11:37 +0000 |
commit | c6d990a767150b02337de1136fdb55ccf349f4d1 (patch) | |
tree | cb8db222a1cf25c4dde7a9e9f5ded3c92965b4ad /lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | |
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
Diffstat (limited to 'lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp')
0 files changed, 0 insertions, 0 deletions