clang/test
Saleem Abdulrasool 012b8f13a3 Sema: delay the DLL exported member referencing
An explicit template specialization can cause the implicit template
specialization of a type which inherits the attributes.  In such a case, we
would end up with a delayed template specialization for a dll exported type
which we would fail to reference.  This would trigger an assertion.

We now propagate the dll storage attributes through the inheritance
chain.  Only after having done so do we reference the delayed template
specializations.  This allows any implicit specializations which inherit dll
storage to also be referenced.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288570 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-03 01:57:47 +00:00
..
ARCMT [test/objcmt] Add a follow-up test case for r275600. 2016-07-15 20:40:24 +00:00
ASTMerge Fixed layout of test/ASTMerge. 2016-11-16 18:21:00 +00:00
Analysis DR616, and part of P0135R1: member access (or pointer-to-member access) on a 2016-12-03 01:14:32 +00:00
CXX [Sema] Don't perform aggregate initialization for types with explicit constructors 2016-12-03 01:26:47 +00:00
CodeCompletion Fix heuristics skipping invalid ctor-initializers with C++11 2016-11-03 07:36:17 +00:00
CodeGen Use ${:uid} to generate unique MS asm labels, not {:uid} 2016-11-29 00:39:37 +00:00
CodeGenCUDA [CUDA] Rename cuda_builtin_vars.h to __clang_cuda_builtin_vars.h. 2016-10-08 22:16:08 +00:00
CodeGenCXX Sema: delay the DLL exported member referencing 2016-12-03 01:57:47 +00:00
CodeGenCoroutines [coroutines] Add allocation and deallocation substatements. 2016-10-27 16:28:31 +00:00
CodeGenObjC Switch CGObjCMac to use ConstantInitBuilder. Whew. 2016-11-30 02:39:18 +00:00
CodeGenObjCXX Forward ns_consumed delegate arguments with a move. 2016-11-18 01:08:24 +00:00
CodeGenOpenCL [OpenCL] Prevent generation of globals in non-constant AS for OpenCL. 2016-11-29 17:01:19 +00:00
Coverage Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
CoverageMapping [Coverage] Support for C++17 if initializers 2016-10-14 23:38:16 +00:00
Driver With LTO and profile-use, enable hotness info in opt remarks 2016-12-02 17:54:34 +00:00
FixIt Warn when 'assume_nonnull' infers nullability within an array. 2016-11-10 23:28:30 +00:00
Format Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
Frontend [Frontend] Fix an issue where a quoted search path is incorrectly 2016-12-02 09:51:51 +00:00
Headers [OpenCL] Remove redundant test for OpenCL header file 2016-11-07 15:55:51 +00:00
Index [libclang] Add APIs to check the result of an integer expression in CXEvalResult without overflow 2016-12-01 23:41:27 +00:00
Integration
Layout [MS ABI] Implement __declspec(empty_bases) and __declspec(layout_version) 2016-05-23 17:16:12 +00:00
Lexer p0012r1: define corresponding feature test macro 2016-12-02 02:02:23 +00:00
Misc More diagnostic name fixups: w_ -> warn_, warning_ -> warn_, not_ -> note_. 2016-12-02 23:00:28 +00:00
Modules Recover better from an incompatible .pcm file being provided by -fmodule-file=. 2016-12-02 01:52:28 +00:00
OpenMP [OpenMP] Sema and parsing for 'teams distribute parallel for simd' pragma 2016-11-30 23:51:03 +00:00
PCH Add dllexport default ctor closure PCH regression test for PR31121 2016-11-23 18:33:54 +00:00
Parser [ObjC] Avoid a @try/@finally/@autoreleasepool fixit when parsing an expression 2016-12-01 12:14:38 +00:00
Preprocessor [CUDA] Attempt to fix test failures in cuda-macos-includes.cu. 2016-11-18 01:11:32 +00:00
Profile Add test for D21736. 2016-11-22 20:03:40 +00:00
Rewriter
Sema [TableGen] Ignore fake args for parsing-related arg counts. 2016-12-01 17:52:39 +00:00
SemaCUDA [CUDA] Use only the GVALinkage on function definitions. 2016-11-08 23:45:51 +00:00
SemaCXX DR616, and part of P0135R1: member access (or pointer-to-member access) on a 2016-12-03 01:14:32 +00:00
SemaObjC DR616, and part of P0135R1: member access (or pointer-to-member access) on a 2016-12-03 01:14:32 +00:00
SemaObjCXX Don't require nullability on 'va_list'. 2016-11-10 23:28:34 +00:00
SemaOpenCL [OpenCL] Refactor read_only/write_only pipes. 2016-12-01 11:30:49 +00:00
SemaTemplate Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
TableGen
Tooling Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
VFS Don't diagnose non-modular includes when we are not compiling a module. 2016-08-26 17:16:46 +00:00
.clang-format
CMakeLists.txt [test] Fix detecting LLVM zlib support in stand-alone builds 2016-11-01 20:31:52 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [test] Correctly include build llvm_shlib_dir in stand-alone builds 2016-11-15 12:54:10 +00:00
lit.site.cfg.in XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set 2016-09-29 07:43:08 +00:00
make_test_dirs.pl