summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-12-16 00:15:54 +0000
committerKelvin Li <kkwli0@gmail.com>2016-12-16 00:15:54 +0000
commitff1302c1622ef08040c4b0f5a7c32da53e966804 (patch)
tree6f94b8f242130a01c7d234a9b055c1dbd4a85d34 /clang
parent19f2aa78910110a580c1bba80a0b39596be71879 (diff)
downloadbcm5719-llvm-ff1302c1622ef08040c4b0f5a7c32da53e966804.tar.gz
bcm5719-llvm-ff1302c1622ef08040c4b0f5a7c32da53e966804.zip
Fix typo in error messages. NFC.
llvm-svn: 289897
Diffstat (limited to 'clang')
-rw-r--r--clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp b/clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
index 5f0d4a3330d..675ecb407f4 100644
--- a/clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
+++ b/clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
@@ -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)
OpenPOWER on IntegriCloud