llvm-project/clang/utils/TableGen
Aaron Ballman 981ba24156 None of these attributes require FunctionTemplate to be explicitly listed as part of their subject definition. FunctionTemplateDecls are not what the attribute appertains to in the first place -- it attaches to the underlying FunctionDecl.
The attribute emitter was using FunctionTemplate to map the diagnostic to "functions or methods", but that isn't a particularly clear diagnostic in these cases anyway (since they do not apply to ObjC methods). Updated the attribute emitter to remove custom logic for FunctionTemplateDecl, and updated the test cases for the change in diagnostic wording.

llvm-svn: 209209
2014-05-20 14:10:53 +00:00
..
CMakeLists.txt [CMake] Deprecate CLANG_RUNTIME_OUTPUT_INTDIR and CLANG_LIBRARY_OUTPUT_INTDIR. 2014-01-19 13:00:01 +00:00
ClangASTNodesEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
ClangAttrEmitter.cpp None of these attributes require FunctionTemplate to be explicitly listed as part of their subject definition. FunctionTemplateDecls are not what the attribute appertains to in the first place -- it attaches to the underlying FunctionDecl. 2014-05-20 14:10:53 +00:00
ClangCommentCommandInfoEmitter.cpp Documentation parsing: add support for \throws \throw \exception commands 2013-11-12 22:16:08 +00:00
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp TableGen backends: use emitSourceFileHeader() to emit the warning about 2013-01-30 21:54:20 +00:00
ClangCommentHTMLTagsEmitter.cpp Comment parsing: remove HTML attribute validation 2014-04-30 21:54:30 +00:00
ClangDiagnosticsEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
ClangSACheckersEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
Makefile Don't require exception handling for clang-tblgen. 2012-10-25 20:34:00 +00:00
NeonEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
TableGen.cpp Reapplying r204952 a second time. 2014-03-31 13:14:44 +00:00
TableGenBackends.h Reapplying r204952 a second time. 2014-03-31 13:14:44 +00:00