]> granicus.if.org Git - clang/commit
Mark the ExtWarn for in-class initialization of static const float members as a GNU...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 29 Sep 2011 23:18:34 +0000 (23:18 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 29 Sep 2011 23:18:34 +0000 (23:18 +0000)
commit947be1941e9a1d4233116f51a45799d3904d4231
tree14204fef2feaf0222977986f4f66cccbab889071
parent0f32caff4dc351719ca3362d95f859d72fdd6f1b
Mark the ExtWarn for in-class initialization of static const float members as a GNU extension. Don't extend the scope of this extension to all literal types in C++0x mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140820 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/FixIt/fixit-cxx0x.cpp
test/SemaCXX/class.cpp
test/SemaCXX/cxx0x-class.cpp
test/SemaTemplate/instantiate-static-var.cpp