llvm-project/clang/test
Kelvin Li 59e3d19813 [OpenMP] Diagnose undeclared variables on declare target clause
Clang asserts on undeclared variables on the to or link clause in the declare
target directive. The patch is to properly diagnose the error.

// foo1 and foo2 are not declared
#pragma omp declare target to(foo1)
#pragma omp declare target link(foo2)

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

llvm-svn: 319458
2017-11-30 18:52:06 +00:00
..
ARCMT
ASTMerge [ASTImporter] Support new AST nodes: 2017-11-21 16:08:41 +00:00
Analysis [analyzer] Fix false negative on post-increment of uninitialized variable. 2017-11-30 09:18:35 +00:00
CXX Preserve the "last diagnostic was suppressed" flag across SFINAE checks. 2017-11-30 08:18:21 +00:00
CodeCompletion Workaround reverse-iteration buildbot breakages. Filed PR35244. 2017-11-08 13:05:52 +00:00
CodeGen [CodeGen] Add initial support for union members in TBAA 2017-11-30 09:26:39 +00:00
CodeGenCUDA
CodeGenCXX MS ABI: Treat explicit instantiation definitions of dllimport function templates as explicit instantiation decls (PR35435) 2017-11-29 23:44:11 +00:00
CodeGenCoroutines [coroutines] Promote cleanup.dest.slot allocas to registers to avoid storing it in the coroutine frame 2017-11-11 17:00:43 +00:00
CodeGenObjC Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
CodeGenObjCXX Fix off-by-one error in block mangling. 2017-09-07 05:41:24 +00:00
CodeGenOpenCL [OpenCL] Fix code generation of function-scope constant samplers. 2017-11-15 11:38:17 +00:00
Coverage [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
CoverageMapping [Coverage] Emit gap areas in braces-optional statements (PR35387) 2017-11-29 22:25:14 +00:00
Driver Revert [ARM] disable FPU features when using soft floating point. 2017-11-30 12:05:18 +00:00
FixIt Add a "vexing parse" warning for ambiguity between a variable declaration and a 2017-09-29 23:57:25 +00:00
Format [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
Frontend [X86] Make sure 'knm' is accepted by -target-cpu 2017-11-19 04:12:35 +00:00
Headers [X86] Add 3dnow and 3dnowa to the list of valid target features 2017-11-06 20:33:13 +00:00
Import Add support for remembering origins to ExternalASTMerger 2017-09-27 19:57:58 +00:00
Index Revert r318669/318694 2017-11-20 21:46:29 +00:00
Integration Fix the test fix from r312181 2017-08-30 23:26:38 +00:00
Layout
Lexer Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
Misc Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
Modules Change path used in a test from r318503 to work on windows 2017-11-17 04:26:07 +00:00
OpenMP [OpenMP] Diagnose undeclared variables on declare target clause 2017-11-30 18:52:06 +00:00
PCH Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
Parser Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
Preprocessor Revert [ARM] disable FPU features when using soft floating point. 2017-11-30 12:05:18 +00:00
Profile [PGO] Detect more structural changes with the stable hash 2017-11-14 23:56:53 +00:00
Refactor [refactor][extract] avoid extracting expressions from types in functions 2017-11-14 18:59:01 +00:00
Rewriter [clang] Remove unit test which uses reverse-iterate flag 2017-08-24 22:40:32 +00:00
Sema Perform a bounds check on a function's argument list before accessing any index value specified by an 'argument_with_type_tag' attribute. Fixes PR28520. 2017-11-29 23:10:14 +00:00
SemaCUDA [CUDA] Report "unsupported VLA" errors only on device side. 2017-11-28 18:51:42 +00:00
SemaCXX Fix __has_unique_object_representations implementation 2017-11-30 16:37:02 +00:00
SemaObjC Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
SemaObjCXX [ObjC++] Don't warn about pessimizing move for __block variables 2017-11-07 21:40:11 +00:00
SemaOpenCL [OpenCL] Add extensions cl_intel_subgroups and cl_intel_subgroups_short 2017-11-27 09:14:17 +00:00
SemaTemplate [Sema] Fix an assert-on-invalid by avoiding function template specialisation 2017-10-27 18:13:31 +00:00
TableGen
Tooling [tooling] Make compile_flags.txt negative test more hermetic 2017-11-14 15:22:34 +00:00
Unit [lit] Set shlibpath_var on Solaris 2017-11-27 13:33:19 +00:00
VFS
clang-rename [clang-rename] Fix and enable the failing TemplatedClassFunction test. 2017-10-25 08:25:25 +00:00
.clang-format
CMakeLists.txt Re-revert "Refactor debuginfo-tests." 2017-11-21 01:20:28 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Re-revert "Refactor debuginfo-tests." 2017-11-21 01:20:28 +00:00
lit.site.cfg.py.in [lit] Add host_cxx to lit config 2017-10-10 17:53:45 +00:00
make_test_dirs.pl