summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/target_teams_distribute_map_messages.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-02-27 21:31:11 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-02-27 21:31:11 +0000
commit95c23e72da98ecb84c562ca0fb8e23f7c6ceefa1 (patch)
treea66894cf088b38210078753a70ac4a040e51879c /clang/test/OpenMP/target_teams_distribute_map_messages.cpp
parent0594aee52fad70d2a0b44b321579b857b8cf9244 (diff)
downloadbcm5719-llvm-95c23e72da98ecb84c562ca0fb8e23f7c6ceefa1.tar.gz
bcm5719-llvm-95c23e72da98ecb84c562ca0fb8e23f7c6ceefa1.zip
[OPENMP] Emit warning for non-trivial types in map clauses.
If the mapped type is non-trivial, the warning message is emitted for better user experience. llvm-svn: 326251
Diffstat (limited to 'clang/test/OpenMP/target_teams_distribute_map_messages.cpp')
-rw-r--r--clang/test/OpenMP/target_teams_distribute_map_messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/OpenMP/target_teams_distribute_map_messages.cpp b/clang/test/OpenMP/target_teams_distribute_map_messages.cpp
index b9c30812a31..826a09dd76d 100644
--- a/clang/test/OpenMP/target_teams_distribute_map_messages.cpp
+++ b/clang/test/OpenMP/target_teams_distribute_map_messages.cpp
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 %s
+// RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 %s -Wno-openmp-target
-// RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 %s -Wno-openmp-target
void foo() {
}
OpenPOWER on IntegriCloud