summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-20 17:10:39 +0000
committerEric Christopher <echristo@gmail.com>2014-05-20 17:10:39 +0000
commitc9e2a689054b63e2c02fddd27b1f508bd57451a3 (patch)
treebe1d28c2bf954a313b59175b2c99a0634ff00c52 /clang/test
parentb1cc6d5603f68ab9bf62210078fb143404b71870 (diff)
downloadbcm5719-llvm-c9e2a689054b63e2c02fddd27b1f508bd57451a3.tar.gz
bcm5719-llvm-c9e2a689054b63e2c02fddd27b1f508bd57451a3.zip
Clean up language and grammar.
Based on a patch by jfcaron3@gmail.com! PR19806 llvm-svn: 209215
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Analysis/misc-ps-region-store.m2
-rw-r--r--clang/test/CXX/except/except.spec/p11.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/misc-ps-region-store.m b/clang/test/Analysis/misc-ps-region-store.m
index b048f8c47b2..7c0b780f374 100644
--- a/clang/test/Analysis/misc-ps-region-store.m
+++ b/clang/test/Analysis/misc-ps-region-store.m
@@ -1362,5 +1362,5 @@ int rdar11125868() {
int rdar11125868_positive() {
int integersStackArray[1];
int *integers = integersStackArray;
- return integers[0] == 0; // expected-warning {{he left operand of '==' is a}}
+ return integers[0] == 0; // expected-warning {{the left operand of '==' is a}}
}
diff --git a/clang/test/CXX/except/except.spec/p11.cpp b/clang/test/CXX/except/except.spec/p11.cpp
index 1f6bf2131cd..1d0a647fb4f 100644
--- a/clang/test/CXX/except/except.spec/p11.cpp
+++ b/clang/test/CXX/except/except.spec/p11.cpp
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
// expected-no-diagnostics
-// This is the "let the user shoot himself in the foot" clause.
+// This is the "let the user shoot themselves in the foot" clause.
void f() noexcept {
throw 0; // no-error
}
OpenPOWER on IntegriCloud