PR15300: Support C++11 attributes on base-specifiers. We don't support any such
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 19 Feb 2013 23:47:15 +0000 (23:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 19 Feb 2013 23:47:15 +0000 (23:47 +0000)
commit4c96e99235b32b594abaf93e5c16c81aae7acb3c
tree4d1dd07e61150390848ff4436b8e68c492b076cd
parent9d6f7037ba7067b850a2abaf65be0b8d08ff134c
PR15300: Support C++11 attributes on base-specifiers. We don't support any such
attributes yet, so just issue the appropriate diagnostics. Also generalize the
fixit for attributes-in-the-wrong-place code and reuse it here, if attributes
are placed after the access-specifier or 'virtual' in a base specifier.

llvm-svn: 175575
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Parse/Parser.h
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaStmtAttr.cpp
clang/test/FixIt/fixit-cxx11-attributes.cpp
clang/test/Parser/cxx11-base-spec-attributes.cpp [new file with mode: 0644]
clang/test/Parser/cxx11-stmt-attributes.cpp
clang/test/Parser/objcxx11-attributes.mm