llvm-project/clang/test
Alex Lorenz 24952fbc6f Add #pragma clang attribute support to the external_source_symbol attribute
Prior to this commit the external_source_symbol attribute wasn't supported by
#pragma clang attribute for the following two reasons:

- The Named attribute subject hasn't been supported by TableGen.
- There was no way to specify a subject match rule for #pragma clang attribute
 that could operate on a set of attribute subjects (e.g. the ones that derive
 from NamedDecl).

This commit fixes the two issues and thus adds external_source_symbol support to
#pragma clang attribute.

rdar://31169028

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

llvm-svn: 300712
2017-04-19 15:52:11 +00:00
..
ARCMT [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
ASTMerge Revert r299355 "[ASTImporter] Fix for importing unnamed structs" 2017-04-03 21:06:45 +00:00
Analysis [analyzer] Simplify values in binary operations a bit more aggressively. 2017-04-13 07:20:04 +00:00
CXX Correct class-template deprecation behavior-REDUX 2017-03-23 18:51:54 +00:00
CodeCompletion [libclang] Fix crash in member access code completion with implicit base 2017-03-28 07:22:21 +00:00
CodeGen Debug Info: Remove special-casing of indirect function argument handling. 2017-04-18 01:22:01 +00:00
CodeGenCUDA Use FPContractModeKind universally 2017-03-29 21:54:24 +00:00
CodeGenCXX Avoid assert when a non-static member function is qualified with __unaligned 2017-04-19 12:23:28 +00:00
CodeGenCoroutines [coroutines] Fix building of new/delete expressions when get_return_object_on_allocation_failure() is present. 2017-04-18 03:12:48 +00:00
CodeGenObjC [ObjC] Mark loads from __NSArray0 and __NSDictionary0 as invariant.load. 2017-04-17 15:21:55 +00:00
CodeGenObjCXX [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt [take 2] 2017-04-14 16:53:25 +00:00
CodeGenOpenCL Debug Info: Remove special-casing of indirect function argument handling. 2017-04-18 01:22:01 +00:00
Coverage Handle StaticAssertDecl in DeclContextPrinter 2017-01-03 12:16:02 +00:00
CoverageMapping clang/test/CoverageMapping/unused_names.c: Relax an expression for targeting PECOFF. 2017-04-14 03:16:48 +00:00
Driver [Driver] Unify linking of OpenMP runtime. NFCI. 2017-04-19 13:55:39 +00:00
FixIt Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
Format clang/test/Format/inplace.cpp: Avoid using wildcard. 2017-02-28 10:05:56 +00:00
Frontend Add -iframeworkwithsysroot compiler option 2017-03-13 11:17:41 +00:00
Headers Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
Import [clang-import-test] Lookup inside contexts 2017-04-11 19:33:35 +00:00
Index Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +00:00
Integration
Layout Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
Lexer Do not warn about whitespace between ??/ trigraph and newline in line comments if trigraphs are disabled in the current language. 2017-04-18 21:45:04 +00:00
Misc Add #pragma clang attribute support to the external_source_symbol attribute 2017-04-19 15:52:11 +00:00
Modules Revert r300653 and r300650. The underlying commit fixes one issue with 2017-04-19 05:25:13 +00:00
OpenMP [OPENMP] Fix for PR32333: Crash in call of outlined Function. 2017-04-10 19:16:45 +00:00
PCH [Sema] Add __is_aggregate type-trait 2017-04-12 22:12:15 +00:00
Parser Add support for editor placeholders to Clang 2017-04-19 08:58:56 +00:00
Preprocessor [ARM,AArch64] Define __ELF__ for arm-none-eabihf and AArch64 2017-04-18 13:12:36 +00:00
Profile Weaken test/Profile/c-ternary.c 2017-02-25 07:21:23 +00:00
Rewriter [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Sema Add #pragma clang attribute support to the external_source_symbol attribute 2017-04-19 15:52:11 +00:00
SemaCUDA [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
SemaCXX mingw-w64: enable support for __declspec(selectany) 2017-04-18 15:56:24 +00:00
SemaObjC [Sema][ObjC] Avoid the "type of property does not match type of accessor" 2017-03-30 13:33:51 +00:00
SemaObjCXX [Sema][ObjC] Check whether a variable has a definition, rather than 2017-04-11 22:01:33 +00:00
SemaOpenCL [OpenCL] Map default address space to alloca address space 2017-04-11 17:24:23 +00:00
SemaTemplate Revert "Address http://bugs.llvm.org/pr30994 so that a non-friend can properly replace a friend, and a visible friend can properly replace an invisible friend but not vice verse, and definitions are not replaced. This fixes the two FIXME in SemaTemplate/friend-template.cpp." 2017-04-17 20:57:40 +00:00
TableGen
Tooling [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Unit [test] Extend llvm_shlib_dir fix to unittests 2016-12-15 20:31:08 +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 Re-apply r292662, "IRGen: Start using the WriteThinLTOBitcode pass." 2017-01-26 23:51:50 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
lit.site.cfg.in Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
make_test_dirs.pl