hanchenye-llvm-project/clang/test/Misc
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
..
Inputs
amdgcn.languageOptsOpenCL.cl [OpenCL] AMDGPU: add support of cl_khr_subgroups 2016-08-17 20:39:49 +00:00
ast-dump-arm-attr.c
ast-dump-attr.cpp Add [[clang::suppress(rule, ...)]] attribute 2017-03-27 19:45:24 +00:00
ast-dump-color.cpp Indicate in AST dump whether special member functions are defaulted and trivial. 2016-11-21 23:43:54 +00:00
ast-dump-comment.cpp
ast-dump-decl.c Store decls in prototypes on the declarator instead of in the AST 2016-12-09 17:14:05 +00:00
ast-dump-decl.cpp Add template parameter depth and index to -ast-dump output. 2017-02-21 02:04:03 +00:00
ast-dump-decl.m [AST/ObjC] Make ObjCCategoryImplDecl consistent with ObjCCategoryDecl and use the category name as its DeclName 2017-03-07 09:26:07 +00:00
ast-dump-decl.mm Fix a crash in the AST dumper. 2016-06-09 22:03:04 +00:00
ast-dump-invalid.cpp P0305R0: Semantic analysis and code generation for C++17 init-statement for 'if' and 'switch': 2016-07-14 00:11:03 +00:00
ast-dump-lookups.cpp Improve AST dumping: 2016-01-12 21:59:26 +00:00
ast-dump-msp430-attr.c
ast-dump-pipe.cl [OpenCL] Introduce ReadPipeType and WritePipeType. 2016-11-18 14:10:54 +00:00
ast-dump-stmt.c
ast-dump-stmt.cpp [AST] Dump dependent scope member expression with its member name 2016-11-09 14:02:18 +00:00
ast-dump-stmt.m
ast-dump-templates.cpp Handle deduction guides better in -ast-print. 2017-02-18 01:01:48 +00:00
ast-dump-wchar.cpp [ASTDumper] Add some more character escapes for convenience. 2016-11-24 09:41:33 +00:00
ast-print-char-literal.cpp Fix the ASTPrinter output for ascii char literals >127. 2016-02-13 02:31:28 +00:00
ast-print-objectivec.m [tablegen] Check that an optional IdentifierArgument of an attribute is 2016-09-10 03:29:43 +00:00
ast-print-out-of-line-func.cpp [ASTPrinter] Print template parameter lists for out-of-line functions 2017-04-18 15:12:34 +00:00
ast-print-pragmas-xfail.cpp
ast-print-pragmas.cpp Add loop pragma for Loop Distribution 2016-06-14 12:04:26 +00:00
attr-source-range.cpp
backend-optimization-failure-nodbg.cpp Attempt to pacify buildbots after r280217 2016-08-31 11:01:41 +00:00
backend-optimization-failure.cpp Attempt to pacify buildbots after r280217 2016-08-31 11:01:41 +00:00
backend-resource-limit-diagnostics.cl Update for DiagnosticInfoStackSize changes 2016-06-20 18:13:09 +00:00
backend-stack-frame-diagnostics-fallback.cpp
backend-stack-frame-diagnostics.cpp Disable warning about MSVC not found. 2017-03-15 16:35:13 +00:00
caret-diags-macros.c [diagnostics] Avoid crashes while printing macro backtraces 2015-12-08 01:08:09 +00:00
caret-diags-scratch-buffer.c
cc1as-asm.s Revert "[Driver] Quote clang full version in dwarf producer when invoking cc1as" 2016-05-02 20:20:49 +00:00
dev-fd-fs.c
diag-aka-types.cpp
diag-format.c Get default -fms-compatibility-version from cl.exe's version 2016-05-13 23:20:11 +00:00
diag-line-wrapping.cpp
diag-macro-backtrace.c
diag-macro-backtrace2.c Improve the printing of ranges when macros are involved. 2015-09-24 01:21:01 +00:00
diag-mapping.c
diag-mapping2.c
diag-null-bytes-in-line.cpp Don't crash w/ a diagnostic range containing a null byte 2016-02-17 22:37:45 +00:00
diag-presumed.c
diag-special-chars.c
diag-template-diffing-color.cpp Template Type Diffing change 2016-02-02 00:36:59 +00:00
diag-template-diffing-cxx98.cpp Template Type Diffing change 2016-02-02 00:36:59 +00:00
diag-template-diffing.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
diag-trailing-null-bytes.cpp
diag-verify.cpp
diagnostic-crash.cpp
driver-verify.c
emit-html-insert.c
emit-html.c
error-limit-multiple-notes.cpp
error-limit.c
freebsd-arm-size_t.c
include-stack-for-note-flag.cpp
integer-literal-printing.cpp
interpreter.c
languageOptsOpenCL.cl [OpenCL] Add supported OpenCL extensions to target info. 2016-05-16 17:06:34 +00:00
macro-backtrace.c
message-length.c
nvptx.languageOptsOpenCL.cl NVPTX: Add supported CL features 2016-06-17 19:02:14 +00:00
permissions.cpp
pragma-attribute-cxx-subject-match-rules.cpp Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-cxx.cpp Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-objc-subject-match-rules.m Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-objc.m Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-strict-subjects.c Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-supported-attributes-list.test Add #pragma clang attribute support to the external_source_symbol attribute 2017-04-19 15:52:11 +00:00
predefines.c
r600.languageOptsOpenCL.cl AMDGPU: Fix supported CL features 2016-06-17 02:25:03 +00:00
reduced-diags-macros-backtrace.cpp
reduced-diags-macros.cpp Improve the printing of ranges when macros are involved. 2015-09-24 01:21:01 +00:00
remap-file.c
serialized-diags-driver.c [MSVC Compat] Only warn for unknown clang-cl arguments 2016-01-25 21:14:52 +00:00
serialized-diags-frontend.c
serialized-diags-no-category.c
serialized-diags-no-issue.c
serialized-diags-really-long-text.cpp
serialized-diags-single-issue.c
serialized-diags-stable.c
serialized-diags.c Improve the printing of ranges when macros are involved. 2015-09-24 01:21:01 +00:00
serialized-diags.h
serialized-diags.m
show-diag-options.c
tabstop.c
target-parser.c Misc: add a test for TargetParser usage 2016-03-05 21:12:33 +00:00
thinlto.c Make thinlto clang test more robust against LLVM changes. 2016-04-24 03:44:55 +00:00
unnecessary-elipses.cpp
unprintable.c
verify.c
warn-in-system-header.c
warn-in-system-header.h
warn-sysheader.cpp
warning-flags-enabled.c Use %select to merge similar diagnostics. NFC 2015-11-14 02:09:55 +00:00
warning-flags-tree.c
warning-flags.c Add warning flag for "partial specialization is not more specialized than primary template" error (since Eigen hits it), and while I'm here also add a warning flag for "partial specialization is not usable because one or more of its parameters cannot be deduced" warning. 2016-12-27 20:03:09 +00:00
win32-macho.c
working-directory.c
wrong-encoding.c
wrong-encoding2.c