diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2016-04-01 08:43:42 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2016-04-01 08:43:42 +0000 |
commit | 695440e304b34c3a65f3cc548af3959a5ad623f2 (patch) | |
tree | 86634df13689ea67b9e994909bac40add4e77f2d /test/OpenMP/target_firstprivate_messages.cpp | |
parent | 2641018c61730eaedf2518a16a83c25eb94fb4a3 (diff) | |
download | clang-695440e304b34c3a65f3cc548af3959a5ad623f2.tar.gz |
Revert "[OPENMP] Allow skip expression after comma in clauses with lists."
This reverts commit http://reviews.llvm.org/rL265003. After some
thoughts decided to emit errors here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/target_firstprivate_messages.cpp')
-rw-r--r-- | test/OpenMP/target_firstprivate_messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/OpenMP/target_firstprivate_messages.cpp b/test/OpenMP/target_firstprivate_messages.cpp index f26ea62f62..6dbad671de 100644 --- a/test/OpenMP/target_firstprivate_messages.cpp +++ b/test/OpenMP/target_firstprivate_messages.cpp @@ -97,7 +97,7 @@ int foomain(I argc, C **argv) { {} #pragma omp target firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} {} -#pragma omp target firstprivate(argc, // expected-error {{expected ')'}} expected-note {{to match this '('}} +#pragma omp target firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} {} #pragma omp target firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} {} @@ -157,7 +157,7 @@ int main(int argc, char **argv) { {} #pragma omp target firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} {} -#pragma omp target firstprivate(argc, // expected-error {{expected ')'}} expected-note {{to match this '('}} +#pragma omp target firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} {} #pragma omp target firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} {} |