llvm-project/clang/utils/TableGen
Erich Keane 8a8f5f0f00 Correct class-template deprecation behavior
Based on the comment in the test, and my reading of the standard, a deprecated warning should be issued in the following case:
template<typename T> [[deprecated]] class Foo{}; Foo<int> f;

This was not the case, because the ClassTemplateSpecializationDecl creation did not also copy the deprecated attribute.

Note: I did NOT audit the complete set of attributes to see WHICH ones should be copied, so instead I simply copy ONLY the deprecated attribute.

Differential Revision: https://reviews.llvm.org/D27486

llvm-svn: 298410
2017-03-21 17:49:17 +00:00
..
CMakeLists.txt [docs] Add TableGen-based generator for command line argument documentation, 2017-01-24 19:39:46 +00:00
ClangASTNodesEmitter.cpp TableGen: Adapt to llvm r288612 2016-12-04 05:55:09 +00:00
ClangAttrEmitter.cpp Correct class-template deprecation behavior 2017-03-21 17:49:17 +00:00
ClangCommentCommandInfoEmitter.cpp Fix Clang-tidy modernize-use-nullptr warnings in headers and generated files; other minor cleanups. 2015-09-29 20:56:43 +00:00
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
ClangCommentHTMLTagsEmitter.cpp Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:42:19 +00:00
ClangDiagnosticsEmitter.cpp Use noexcept instead of LLVM_NOEXCEPT now that all compilers support it 2016-10-19 23:39:55 +00:00
ClangOptionDocEmitter.cpp Improve workaround for Sphinx's lack of support for command line options containing '+', '.' etc. to be more stable as the set of options changes. 2017-01-27 01:54:42 +00:00
ClangSACheckersEmitter.cpp [C++11] Use 'nullptr'. 2014-05-07 06:21:57 +00:00
NeonEmitter.cpp Adapt to llvm/TableGen DagInit changes. 2016-12-05 06:00:51 +00:00
TableGen.cpp [docs] Add TableGen-based generator for command line argument documentation, 2017-01-24 19:39:46 +00:00
TableGenBackends.h [docs] Add TableGen-based generator for command line argument documentation, 2017-01-24 19:39:46 +00:00