]> granicus.if.org Git - clang/commit
Suggest adding 'constexpr' if the GNU extension for in-class initializers for static...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 30 Sep 2011 00:33:19 +0000 (00:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 30 Sep 2011 00:33:19 +0000 (00:33 +0000)
commit2d23ec29805f54edb3243022c64d752b8fbe5f46
treeb9b586d997798ddb569da42873b5c0f9d9f7fba4
parent947be1941e9a1d4233116f51a45799d3904d4231
Suggest adding 'constexpr' if the GNU extension for in-class initializers for static const float members is used in C++11 mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140828 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/CXX/class/class.static/class.static.data/p3.cpp
test/SemaCXX/cxx0x-class.cpp