llvm-project/clang/test
Alexey Bataev 471171c4c9 [OPENMP]Add check for undefined behavior with thread allocators on
target and task-based directives.

According to OpenMP 5.0, 2.11.4 allocate Clause, Restrictions, For task,
taskloop or target directives, allocation requests to memory allocators
with the trait access set to thread result in unspecified behavior.
Patch introduces a check for omp_thread_mem_alloc predefined allocator
on target- and trask-based directives.

llvm-svn: 357205
2019-03-28 19:15:36 +00:00
..
ARCMT
AST [AST] Disable ast-dump-openmp-parallel-master-XFAIL.c test 2019-03-20 17:14:49 +00:00
ASTMerge/choose-expr [ASTImporter] Add support for importing ChooseExpr AST nodes. 2019-02-26 19:26:41 +00:00
Analysis [Analyzer] Constraint Manager - Calculate Effective Range for Differences 2019-03-28 13:05:59 +00:00
CXX Fix implementation of [temp.local]p4. 2019-02-15 21:53:07 +00:00
CodeCompletion Support framework import/include auto-completion 2019-02-27 17:40:33 +00:00
CodeGen [X86] Add BSR/BSF/BSWAP intrinsics to ia32intrin.h to match gcc. 2019-03-24 00:56:52 +00:00
CodeGenCUDA [CUDA][HIP][DebugInfo] Skip reference device function 2019-03-06 21:16:27 +00:00
CodeGenCXX IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
CodeGenCoroutines
CodeGenObjC [CodeGen] Add additional mangling for struct members of non trivial structs 2019-03-28 17:01:20 +00:00
CodeGenObjCXX [CodeGen][ObjC] Annotate calls to objc_retainAutoreleasedReturnValue 2019-03-21 19:59:49 +00:00
CodeGenOpenCL AMDGPU: Add support for cross address space synchronization scopes (clang) 2019-03-25 20:54:00 +00:00
CodeGenOpenCLCXX [Sema] Adjust addr space of reference operand in compound assignment 2019-03-19 16:50:21 +00:00
Coverage
CoverageMapping Fix clang tests broken by r353547 that depend on InstrProf 2019-02-10 20:17:07 +00:00
Driver [Driver] Default Android toolchains to noexecstack. 2019-03-28 18:08:28 +00:00
FixIt Introduce the _Clang scoped attribute token. 2018-11-09 17:19:45 +00:00
Format
Frontend [Fixed Point Arithmetic] Fixed Point and Integer Conversions 2019-03-06 00:28:43 +00:00
Headers [OpenCL] Minor improvements in default header testing 2019-03-19 17:09:06 +00:00
Import [ASTImporter] Fix importing OperatorDelete from CXXConstructorDecl 2019-01-22 17:59:45 +00:00
Index [libclang] Expose aligned() attribute. 2019-03-13 16:16:54 +00:00
Integration
Layout
Lexer Factor out repeated code parsing and concatenating header-names from 2019-03-19 01:51:19 +00:00
Misc [OpenCL] Allow variadic macros as Clang feature. 2019-03-26 11:22:37 +00:00
Modules Remove an unnecessary -f when cp'ing to a file that was just deleted. NFC. 2019-03-11 10:44:10 +00:00
OpenMP [OPENMP]Add check for undefined behavior with thread allocators on 2019-03-28 19:15:36 +00:00
PCH [OPENMP]Improve detection of omp_allocator_handle_t type and predefined 2019-03-20 20:14:22 +00:00
Parser [OpenCL] Allow addr space spelling without __ prefix in C++. 2019-03-25 11:54:02 +00:00
Preprocessor [OpenCL] Allow variadic macros as Clang feature. 2019-03-26 11:22:37 +00:00
Profile [InstrProf] Use separate comdat group for data and counters 2019-02-27 23:38:44 +00:00
Refactor
Rewriter
Sema Emit -Wfortify-source using DiagRuntimeBehaviour 2019-03-26 23:21:22 +00:00
SemaCUDA Permit redeclarations of a builtin to specify calling convention. 2019-03-21 13:30:56 +00:00
SemaCXX [Sema] Fix an assert when a block captures a constexpr local 2019-03-26 23:21:19 +00:00
SemaObjC [Sema] Fix a use-after-free of a _Nonnull ParsedAttr 2019-03-14 18:38:02 +00:00
SemaObjCXX Thread Safety: also look at ObjC methods 2019-03-25 20:06:32 +00:00
SemaOpenCL [OpenCL] Improved testing of default header. 2019-03-19 13:04:17 +00:00
SemaOpenCLCXX [PR41247] Fixed parsing of private keyword in C++. 2019-03-28 11:47:14 +00:00
SemaTemplate Permit redeclarations of a builtin to specify calling convention. 2019-03-21 13:30:56 +00:00
TableGen Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Templight
Tooling [test] Pass -ccc-install-dir in mac compilation db test 2019-01-21 17:05:43 +00:00
Unit
VFS [VFS] Implement `RedirectingFileSystem::getRealPath`. 2018-11-16 01:18:04 +00:00
clang-rename
.clang-format
CMakeLists.txt Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [analyzer][CrossTU][NFC] Generalize to external definitions instead of external functions 2019-01-10 17:44:04 +00:00
lit.site.cfg.py.in Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
make_test_dirs.pl