llvm-project/clang/utils
Erich Keane a32910da1a Correct class-template deprecation behavior-REDUX
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.

Previous DiffRev: https://reviews.llvm.org/D27486, was reverted.
This patch fixes the issues brought up here by the reverter: https://reviews.llvm.org/rL298410

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

llvm-svn: 298634
2017-03-23 18:51:54 +00:00
..
ABITest Add back the ABITest makefiles 2016-02-03 17:16:01 +00:00
CIndex
ClangVisualizers Improved Visual Studio visualization of OpaquePtr 2016-06-13 04:02:35 +00:00
TableGen Correct class-template deprecation behavior-REDUX 2017-03-23 18:51:54 +00:00
TestUtils
VtableTest Remove autoconf support 2016-01-26 21:30:40 +00:00
analyzer [analyzer] SATestBuild.py: Treat '#' as comment in projectMap.csv 2016-09-19 01:36:40 +00:00
check_cfc [utils] Improvements to check_cfc.py to work better with some build systems. 2015-06-03 15:09:13 +00:00
perf-training [clang] Update lit config in utils/perf-training 2017-01-04 04:33:28 +00:00
valgrind
CaptureCmd
ClangDataFormat.py
CmpDriver utils/CmpDriver: add brief documentation to indicate what this does 2014-05-21 02:08:10 +00:00
FindSpecRefs
FuzzTest
builtin-defines.c
find-unused-diagnostics.sh
modfuzz.py Add simple, stupid, pattern-based fuzzer / reducer for modules bugs. I've 2016-06-27 19:43:46 +00:00
token-delta.py