r289897 - Fix typo in error messages. NFC.
Kelvin Li via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 15 16:15:54 PST 2016
Author: kli
Date: Thu Dec 15 18:15:54 2016
New Revision: 289897
URL: http://llvm.org/viewvc/llvm-project?rev=289897&view=rev
Log:
Fix typo in error messages. NFC.
Modified:
cfe/trunk/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
Modified: cfe/trunk/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp?rev=289897&r1=289896&r2=289897&view=diff
==============================================================================
--- cfe/trunk/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp (original)
+++ cfe/trunk/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp Thu Dec 15 18:15:54 2016
@@ -659,12 +659,12 @@ void test_loop_eh() {
try { // expected-error {{'try' statement cannot be used in OpenMP simd region}}
for (int j = 0; j < 10; ++j) {
if (a[i] > b[j])
- throw a[i]; // expected-error {{throw' statement cannot be used in OpenMP simd region}}
+ throw a[i]; // expected-error {{'throw' statement cannot be used in OpenMP simd region}}
}
- throw a[i]; // expected-error {{throw' statement cannot be used in OpenMP simd region}}
+ throw a[i]; // expected-error {{'throw' statement cannot be used in OpenMP simd region}}
} catch (float f) {
if (f > 0.1)
- throw a[i]; // expected-error {{throw' statement cannot be used in OpenMP simd region}}
+ throw a[i]; // expected-error {{'throw' statement cannot be used in OpenMP simd region}}
return; // expected-error {{cannot return from OpenMP region}}
}
switch (i) {
@@ -676,7 +676,7 @@ void test_loop_eh() {
}
for (int j = 0; j < 10; j++) {
if (c[i] > 10)
- throw c[i]; // expected-error {{throw' statement cannot be used in OpenMP simd region}}
+ throw c[i]; // expected-error {{'throw' statement cannot be used in OpenMP simd region}}
}
}
if (c[9] > 10)
More information about the cfe-commits
mailing list