]> granicus.if.org Git - clang/commit
Warn that scoped enumerations are a C++11 extenstion when compiling in
authorRichard Trieu <rtrieu@google.com>
Tue, 23 Apr 2013 02:47:36 +0000 (02:47 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 23 Apr 2013 02:47:36 +0000 (02:47 +0000)
commited5a292592c61f1b0d2da60dddea2fc11fb3f157
treebd9bd7fbe6b36d4819bf3db342e0f98c430a2155
parent2545b1d99942080bac4a74cda92c620123d0d6e9
Warn that scoped enumerations are a C++11 extenstion when compiling in
C++98 mode.  This improves on the previous diagnostic message of:

error: expected identifier or '{'

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180076 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDecl.cpp
test/SemaCXX/warn-c++11-extensions.cpp