llvm-project/clang/test
Joel E. Denny 7d5bc55433 [OpenMP] Permit map with DSA on combined directive
For `map`, the following restriction changed in OpenMP 5.0:

* OpenMP 4.5 [2.15.5.1, Restrictions]: "A list item cannot appear in
  both a map clause and a data-sharing attribute clause on the same
  construct.

* OpenMP 5.0 [2.19.7.1, Restrictions]: "A list item cannot appear in
  both a map clause and a data-sharing attribute clause on the same
  construct unless the construct is a combined construct."

This patch removes this restriction in the case of combined constructs
and OpenMP 5.0, and it updates Sema not to capture a scalar by copy in
the target region when `firstprivate` and `map` appear for that scalar
on a combined target construct.

This patch also adds a fixme to a test that now reveals that a
diagnostic about loop iteration variables is dropped in the case of
OpenMP 5.0.  That bug exists regardless of this patch's changes.

Reviewed By: ABataev, jdoerfert, hfinkel, kkwli0

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

llvm-svn: 369619
2019-08-22 03:34:30 +00:00
..
ARCMT
AST [ASTDump] Add is_anonymous to VisitCXXRecordDecl 2019-08-12 17:07:49 +00:00
ASTMerge Give the 'signed/unsigned wchar_t' extension a warning flag, and follow 2019-07-29 20:00:46 +00:00
Analysis [analyzer] Enable control dependency condition tracking by default 2019-08-22 03:08:48 +00:00
CXX Implement P1668R1 2019-08-19 17:39:59 +00:00
ClangScanDeps clang-scan-deps: do not spawn threads when LLVM_ENABLE_THREADS is disabled 2019-08-13 00:36:35 +00:00
CodeCompletion Re-land "[CodeComplete] Improve overload handling for C++ qualified and ref-qualified methods." 2019-06-10 15:17:52 +00:00
CodeGen [LTO] Always mark regular LTO units with EnableSplitLTOUnit=1 under the new pass manager 2019-08-21 17:24:14 +00:00
CodeGenCUDA IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
CodeGenCXX Add triple to new test to try to pacify bots 2019-08-20 23:32:51 +00:00
CodeGenCoroutines Remove unreachable blocks before splitting a coroutine. 2019-08-14 03:54:13 +00:00
CodeGenObjC Add SVE opaque built-in types 2019-08-09 08:52:54 +00:00
CodeGenObjCXX IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
CodeGenOpenCL Builtins: Start adding half versions of math builtins 2019-08-06 03:28:37 +00:00
CodeGenOpenCLCXX Make the CXXABIs respect the target's default calling convention. 2019-07-26 12:36:12 +00:00
Coverage Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
CoverageMapping Remove cache for macro arg stringization 2019-07-30 17:58:22 +00:00
Driver win: Enable /Zc:twoPhase by default if targeting MSVC 2017 update 3 or newer 2019-08-20 16:28:11 +00:00
FixIt [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
Format [clang-format][tests] Explicitly specify style in some tests 2019-07-12 15:56:18 +00:00
Frontend Reland "[ARM] push LR before __gnu_mcount_nc" 2019-08-16 23:30:16 +00:00
Headers [PowerPC] [Clang] Port SSE3, SSSE3 and SSE4 intrinsics to PowerPC 2019-08-09 03:39:55 +00:00
Import [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
Index [clang] Refactor doc comments to Decls attribution 2019-08-13 18:11:44 +00:00
Integration
InterfaceStubs [NFC] Fix for InterfaceStubs tests (adding REQUIRES: x86-registered-target). 2019-06-20 18:28:21 +00:00
Layout P0840R2: support for [[no_unique_address]] attribute 2019-06-20 20:44:45 +00:00
Lexer Implement P1668R1 2019-08-19 17:39:59 +00:00
Misc [NewPM][PassInstrumentation] IR printing support from clang driver 2019-08-14 07:11:09 +00:00
Modules [Driver] Add float-divide-by-zero back to supported sanitizers after D63793/rC365272 2019-07-10 00:30:02 +00:00
OpenMP [OpenMP] Permit map with DSA on combined directive 2019-08-22 03:34:30 +00:00
PCH Rename PCH/leakfiles test so it runs on bots. 2019-08-09 17:13:56 +00:00
Parser [Parser] Emit descriptive diagnostic for misplaced pragma 2019-08-04 10:08:51 +00:00
Preprocessor Allow standards-based attributes to have leading and trailing underscores. 2019-08-15 18:35:44 +00:00
Profile [PGO] Fix bolt failures from r367628 2019-08-02 07:21:50 +00:00
Refactor [Tooling] Added DeclStmtClass to ExtractionSemicolonPolicy 2019-08-14 13:37:39 +00:00
Rewriter
Sema [Sema][Typo] Fix assertion failure for expressions with multiple typos 2019-08-20 19:03:15 +00:00
SemaCUDA Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
SemaCXX [LifetimeAnalysis] Support more STL idioms (template forward declaration and DependentNameType) 2019-08-21 22:08:59 +00:00
SemaObjC [Sema][ObjC] Fix a -Wformat false positive with localizedStringForKey 2019-08-14 16:57:11 +00:00
SemaObjCXX If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
SemaOpenCL [OpenCL] Add const, volatile and pointer builtin handling 2019-08-20 12:21:03 +00:00
SemaOpenCLCXX [OpenCL] Fix addr space deduction for pointers/references to arrays. 2019-08-19 11:43:16 +00:00
SemaTemplate Revert "Fix crash on switch conditions of non-integer types in templates" 2019-08-13 19:07:28 +00:00
TableGen
Templight
Tooling Recommit r363298 "[lit] Disable test on darwin when building shared libs." 2019-06-15 20:09:54 +00:00
Unit
VFS
clang-rename
.clang-format
CMakeLists.txt Fix breakage introduced by D60974 2019-07-01 21:57:31 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Fix a Python3 compatibility error 2019-07-11 21:45:48 +00:00
lit.site.cfg.py.in [clang][NewPM] Fixing remaining -O0 tests that are broken under new PM 2019-06-19 17:41:30 +00:00
make_test_dirs.pl