llvm-project/clang/test
Jonas Hahnfeld 64a9e3c530 [OpenMP] Generate better diagnostics for cancel and cancellation point
checkNestingOfRegions uses CancelRegion to determine whether cancel and
cancellation point are valid in the given nesting. This leads to unuseful
diagnostics if CancelRegion is invalid. The given test case has produced:
  region cannot be closely nested inside 'parallel' region

As a solution, introduce checkCancelRegion and call it first to get the
expected error:
  one of 'for', 'parallel', 'sections' or 'taskgroup' is expected

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

llvm-svn: 295808
2017-02-22 06:49:10 +00:00
..
ARCMT [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
ASTMerge [ASTImporter] Support default argument initialization of ParmVarDecls 2017-02-20 11:57:12 +00:00
Analysis [analyzer] Do not duplicate call graph nodes for functions that have definition and forward declaration 2017-02-20 09:16:48 +00:00
CXX Revert r295277 to fix buildbot. 2017-02-16 04:22:56 +00:00
CodeCompletion [CodeCompletion] Code complete the '__auto_type' keyword 2017-02-13 23:35:59 +00:00
CodeGen Call the correct @llvm.objectsize. 2017-02-22 02:35:51 +00:00
CodeGenCUDA [CodeGen] [CUDA] Add the ability set default attrs on functions in linked modules. 2017-01-25 21:29:48 +00:00
CodeGenCXX Fix assertion failure when generating debug information for a variable 2017-02-22 00:13:14 +00:00
CodeGenCoroutines [coroutines] Add allocation and deallocation substatements. 2016-10-27 16:28:31 +00:00
CodeGenObjC Only enable AddDiscriminator pass when -fdebug-info-for-profiling is true 2017-02-21 20:36:21 +00:00
CodeGenObjCXX [CodeGen][ObjC] Use the type of the captured field of the enclosing 2017-02-14 06:46:55 +00:00
CodeGenOpenCL [OpenCL] Correct ndrange_t implementation 2017-02-16 12:27:47 +00:00
Coverage Handle StaticAssertDecl in DeclContextPrinter 2017-01-03 12:16:02 +00:00
CoverageMapping [profiling] Update test cases to deal with name variable change (NFC) 2017-02-14 20:03:56 +00:00
Driver [ARM] Add regression tests for Cortex-M23 and Cortex-M33 2017-02-20 10:37:01 +00:00
FixIt [Sema] Improve the error diagnostic for dot destructor calls on pointer objects 2017-01-20 15:38:58 +00:00
Format clang-format: remove tests that assume no config file will be found as this is not always the case 2017-01-23 13:20:23 +00:00
Frontend Hook up OpenBSD AArch64 support 2017-02-21 23:13:09 +00:00
Headers [OpenCL] Correct ndrange_t implementation 2017-02-16 12:27:47 +00:00
Import Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
Index [index] Improvde how we handle synthesized ObjC properties and the associated ivars. 2017-02-17 04:49:41 +00:00
Integration
Layout
Lexer [c++1z] Mark constexpr lambdas as done on status page and start advertising 2017-02-21 23:58:29 +00:00
Misc Add template parameter depth and index to -ast-dump output. 2017-02-21 02:04:03 +00:00
Modules Add more ODR checking. 2017-02-22 01:11:25 +00:00
OpenMP [OpenMP] Generate better diagnostics for cancel and cancellation point 2017-02-22 06:49:10 +00:00
PCH [Test] Make Lit tests C++11 compatible - misc 2017-02-17 19:36:19 +00:00
Parser PR24440: Do not silently discard a fold-expression appearing as the operand of a cast-expression. 2017-02-15 19:57:10 +00:00
Preprocessor Hook up OpenBSD AArch64 support 2017-02-21 23:13:09 +00:00
Profile [profiling] Make a test more explicit. NFC. 2017-02-18 02:02:55 +00:00
Rewriter [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Sema Process attributes 'ifunc' and 'alias' when checking for redefinition 2017-02-18 06:04:15 +00:00
SemaCUDA [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
SemaCXX Fix deduction of type of pack-expanded non-type template parameter. 2017-02-21 23:49:18 +00:00
SemaObjC Sema: use PropertyDecl for property selector 2017-02-20 23:45:49 +00:00
SemaObjCXX [Sema] Disallow returning a __block variable via a move. 2017-02-15 05:15:28 +00:00
SemaOpenCL [OpenCL] Correct ndrange_t implementation 2017-02-16 12:27:47 +00:00
SemaTemplate Fix deduction of type of pack-expanded non-type template parameter. 2017-02-21 23:49:18 +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 [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
lit.site.cfg.in [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
make_test_dirs.pl