summaryrefslogtreecommitdiff
path: root/test/OpenMP/target_if_messages.cpp
diff options
context:
space:
mode:
authorAli Tamur <tamur@google.com>2019-07-16 03:20:15 +0000
committerAli Tamur <tamur@google.com>2019-07-16 03:20:15 +0000
commit6f990ad598839825f0c11046a584b1dc90f4d740 (patch)
tree57812f626260a0e3dd0eef71e9ae8d3b41e6f825 /test/OpenMP/target_if_messages.cpp
parent859252ef0f9c536d403ebcad8d14541c6a79b688 (diff)
downloadclang-6f990ad598839825f0c11046a584b1dc90f4d740.tar.gz
Revert "[OPENMP]Add support for analysis of if clauses."
This reverts commit rL366068. The patch broke 86 tests under clang/test/OpenMP/ when run with address sanitizer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/target_if_messages.cpp')
-rw-r--r--test/OpenMP/target_if_messages.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/OpenMP/target_if_messages.cpp b/test/OpenMP/target_if_messages.cpp
index f381e9eb91..e6b667f2cf 100644
--- a/test/OpenMP/target_if_messages.cpp
+++ b/test/OpenMP/target_if_messages.cpp
@@ -9,13 +9,6 @@ bool foobool(int argc) {
return argc;
}
-void xxx(int argc) {
- int cond; // expected-note {{initialize the variable 'cond' to silence this warning}}
-#pragma omp target if(cond) // expected-warning {{variable 'cond' is uninitialized when used here}}
- for (int i = 0; i < 10; ++i)
- ;
-}
-
struct S1; // expected-note {{declared here}}
template <class T, class S> // expected-note {{declared here}}