]> granicus.if.org Git - clang/commit
Handle C++11 attribute namespaces automatically.
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 18 Jun 2012 16:13:52 +0000 (16:13 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 18 Jun 2012 16:13:52 +0000 (16:13 +0000)
commit93f95f2a2cbb6bb3d17bfb5fc74ce1cccea751b6
tree8240d49bcf20127ffff2af2652d8e4f29b147588
parentadc6cbf5b502f1b58078455ab4fca66c7daac239
Handle C++11 attribute namespaces automatically.

Now, as long as the 'Namespaces' variable is correct inside Attr.td, the
generated code will correctly admit a C++11 attribute only when it has the
appropriate namespace(s).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158661 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Sema/AttributeList.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Sema/AttributeList.cpp
lib/Sema/SemaStmtAttr.cpp
lib/Sema/SemaType.cpp
test/SemaCXX/switch-implicit-fallthrough-per-method.cpp
utils/TableGen/ClangAttrEmitter.cpp