Improve the specification of spellings in Attr.td.
Note that this is mostly a structural patch that handles the change from the old spelling style to the new one. One consequence of this is that all AT_foo_bar enum values have changed to not be based off of the first spelling, but rather off of the class name, so they are now AT_FooBar and the like (a straw poll on IRC showed support for this). Apologies for code churn. Most attributes have GNU spellings as a temporary solution until everything else is sorted out (such as a Keyword spelling, which I intend to add if someone else doesn't beat me to it). This is definitely a WIP. I've also killed BaseCheckAttr since it was unused, and I had to go through every attribute anyway. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158700 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/Attr.td 145 additions, 143 deletionsinclude/clang/Basic/Attr.td
- include/clang/Sema/AttributeList.h 5 additions, 5 deletionsinclude/clang/Sema/AttributeList.h
- lib/AST/ExprCXX.cpp 0 additions, 3 deletionslib/AST/ExprCXX.cpp
- lib/Lex/PPMacroExpansion.cpp 1 addition, 0 deletionslib/Lex/PPMacroExpansion.cpp
- lib/Parse/ParseDecl.cpp 5 additions, 2 deletionslib/Parse/ParseDecl.cpp
- lib/Parse/ParseDeclCXX.cpp 3 additions, 3 deletionslib/Parse/ParseDeclCXX.cpp
- lib/Sema/DeclSpec.cpp 1 addition, 1 deletionlib/Sema/DeclSpec.cpp
- lib/Sema/SemaDeclAttr.cpp 166 additions, 166 deletionslib/Sema/SemaDeclAttr.cpp
- lib/Sema/SemaStmtAttr.cpp 1 addition, 1 deletionlib/Sema/SemaStmtAttr.cpp
- lib/Sema/SemaType.cpp 46 additions, 46 deletionslib/Sema/SemaType.cpp
- lib/Sema/TargetAttributesSema.cpp 2 additions, 2 deletionslib/Sema/TargetAttributesSema.cpp
- utils/TableGen/ClangAttrEmitter.cpp 45 additions, 53 deletionsutils/TableGen/ClangAttrEmitter.cpp
Loading
Please register or sign in to comment