hanchenye-llvm-project/clang/utils
Rafael Espindola 7f90b7d4c2 Fix our handling of visibility in explicit template instantiations.
* Don't copy the visibility attribute during instantiations. We have to be able
  to distinguish

 struct HIDDEN foo {};
 template<class T>
 DEFAULT void bar() {}
 template DEFAULT void bar<foo>();

from

 struct HIDDEN foo {};
 template<class T>
 DEFAULT void bar() {}
 template void bar<foo>();

* If an instantiation has an attribute, it takes precedence over an attribute
  in the template.

* With instantiation attributes handled with the above logic, we can now
  select the minimum visibility when looking at template arguments.

llvm-svn: 156821
2012-05-15 14:09:55 +00:00
..
ABITest utils/ABITest: Factor out type naming code slightly. 2010-09-27 20:13:24 +00:00
C++Tests Remove the vestiges of the C backend. 2012-03-23 05:51:52 +00:00
CIndex
OptionalTests fix a bunch of comment typos found by codespell. Patch by 2011-04-15 05:22:18 +00:00
TableGen Fix our handling of visibility in explicit template instantiations. 2012-05-15 14:09:55 +00:00
TestUtils
VtableTest
analyzer [analyzer] Testing: These checkers are not experimental anymore. 2012-02-20 21:10:40 +00:00
valgrind
CaptureCmd
CmpDriver fix a bunch of comment typos found by codespell. Patch by 2011-04-15 05:22:18 +00:00
FindSpecRefs
FuzzTest [utils/FuzzTest] Add '--stop-on-fail' to stop the script on the first failure 2012-03-08 20:29:39 +00:00
SummarizeErrors
builtin-defines.c
clang-completion-mode.el Add a FIXME for uncomplete comment 2012-04-24 15:42:03 +00:00
clangVisualizers.txt Add SmallVectorImpl Visual Studio visualizer. Patch by Nikola Smiljanic. 2012-04-19 17:26:49 +00:00
find-unused-diagnostics.sh Add a script that produces a list of all diagnostics that are defined in 2012-02-13 20:21:52 +00:00
token-delta.py