llvm-project/clang/utils
Richard Smith 33bddbd64b Make attribute instantiation instantiate all attributes, not just the first of
each kind.

Attribute instantiation would previously default to instantiating each kind of
attribute only once. This was overridden by a flag whose intended purpose was
to permit attributes from a prior declaration to be inherited onto a new
declaration even if that new declaration had its own copy of the attribute.
This is the wrong behavior: when instantiating attributes from a template, we
should always instantiate all the attributes that were written on that
template.

This patch renames the flag in the Attr class (and TableGen sources) to more
clearly identify what it's actually for, and removes the usage of the flag from
template instantiation. I also removed the flag from AlignedAttr, which was
only added to work around the incorrect suppression of duplicate attribute
instantiation.

llvm-svn: 321834
2018-01-04 23:42:29 +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 Make attribute instantiation instantiate all attributes, not just the first of 2018-01-04 23:42:29 +00:00
TestUtils
VtableTest Remove autoconf support 2016-01-26 21:30:40 +00:00
analyzer [analyzer] [tests] Remove empty folders in reference results, do not store diffs.txt 2017-10-30 19:40:33 +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] Enable clang build with LLVM_BUILD_INSTRUMENTED without setting LLVM_PROFTDATA 2017-10-13 03:21:39 +00:00
valgrind
CaptureCmd
ClangDataFormat.py
CmpDriver
FindSpecRefs
FuzzTest
bash-autocomplete.sh [Bash-autocompletion] Show HelpText with possible flags 2017-07-26 13:36:58 +00:00
builtin-defines.c
clangdiag.py New lldb python module for managing diagnostic breakpoints 2017-10-27 17:02:33 +00:00
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