forked from OSchip/llvm-project
![]() Introduce a spelling index to Attr class, which is an index into the attribute spelling list of an attribute defined in Attr.td. This index will determine the actual spelling used by an attribute, as it incorporates both the syntax and naming of the attribute. When constructing an attribute AST node, the spelling index is computed based on attribute kind, scope (if it's a C++11 attribute), and name, then passed to Attr that will use the index to print itself. Thanks to Richard Smith for the idea and review. llvm-svn: 173358 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ClangASTNodesEmitter.cpp | ||
ClangAttrEmitter.cpp | ||
ClangCommentCommandInfoEmitter.cpp | ||
ClangCommentHTMLTagsEmitter.cpp | ||
ClangDiagnosticsEmitter.cpp | ||
ClangSACheckersEmitter.cpp | ||
Makefile | ||
NeonEmitter.cpp | ||
OptParserEmitter.cpp | ||
TableGen.cpp | ||
TableGenBackends.h |