diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-18 19:10:49 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-18 19:10:49 +0000 |
commit | d751fa7868db4a3c522c508900692f743bce8185 (patch) | |
tree | 2c54490d65e60c27c46e2d48296c834a1d2169b1 /clang/test/OpenMP/threadprivate_messages.cpp | |
parent | 67e6d506d88bb68d5f5e26e7a8318cf1090de390 (diff) | |
download | bcm5719-llvm-d751fa7868db4a3c522c508900692f743bce8185.tar.gz bcm5719-llvm-d751fa7868db4a3c522c508900692f743bce8185.zip |
Revert "[OPENMP] Fix for parsing OpenMP directives with extra braces, brackets and parens"
These parser changes were redundant. The same or better recovery can be
achieved with a one-line fix to SkipUntil() due to land in the next commit.
This reverts commit r197553.
llvm-svn: 197597
Diffstat (limited to 'clang/test/OpenMP/threadprivate_messages.cpp')
-rw-r--r-- | clang/test/OpenMP/threadprivate_messages.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/test/OpenMP/threadprivate_messages.cpp b/clang/test/OpenMP/threadprivate_messages.cpp index 1665c48cafb..4858549a703 100644 --- a/clang/test/OpenMP/threadprivate_messages.cpp +++ b/clang/test/OpenMP/threadprivate_messages.cpp @@ -24,12 +24,6 @@ int foo() { // expected-note {{declared here}} return (a); } -#pragma omp threadprivate (a) ( // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'a'}} expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}} -#pragma omp threadprivate (a) [ // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'a'}} expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}} -#pragma omp threadprivate (a) { // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'a'}} expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}} -#pragma omp threadprivate (a) ) // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'a'}} expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}} -#pragma omp threadprivate (a) ] // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'a'}} expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}} -#pragma omp threadprivate (a) } // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'a'}} expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}} #pragma omp threadprivate a // expected-error {{expected '(' after 'threadprivate'}} #pragma omp threadprivate(d // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{'#pragma omp threadprivate' must precede all references to variable 'd'}} #pragma omp threadprivate(d)) // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'd'}} expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}} |