]> granicus.if.org Git - clang/commit
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)
commit053214013990ad8ec096dafc64aa7c0ad2b05bc0
tree780636c1e0577c4aa63aa31e832b8f8324079cb4
parent65f991ccbec43b4a860f70594c92528ee8fb7c6f
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175575 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaStmtAttr.cpp
test/FixIt/fixit-cxx11-attributes.cpp
test/Parser/cxx11-base-spec-attributes.cpp [new file with mode: 0644]
test/Parser/cxx11-stmt-attributes.cpp
test/Parser/objcxx11-attributes.mm