aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-18 22:51:28 +0000
committerChris Lattner <sabre@nondot.org>2008-08-18 22:51:28 +0000
commit4f3278fe397250b75ba5a0b5a6cf98309bd2ad2c (patch)
treee167bc4c2fe01da5a0ef7aed1dacc49e8f904580
parent43477ca46792311640cf29b7cff731e29bebb146 (diff)
proper grammar n stuph
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54954 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/DiagnosticKinds.def2
-rw-r--r--test/SemaObjC/interface-1.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def
index 6eeaffa683..d7eee9f1a6 100644
--- a/include/clang/Basic/DiagnosticKinds.def
+++ b/include/clang/Basic/DiagnosticKinds.def
@@ -407,7 +407,7 @@ DIAG(err_objc_missing_end, ERROR,
DIAG(warn_objc_protocol_qualifier_missing_id, WARNING,
"protocol qualifiers without 'id' is archaic")
DIAG(warn_objc_array_of_interfaces, WARNING,
- "array of interface '%0' should probably be array of pointers")
+ "array of interface '%0' should probably be an array of pointers")
DIAG(err_objc_illegal_visibility_spec, ERROR,
"illegal visibility specification")
diff --git a/test/SemaObjC/interface-1.m b/test/SemaObjC/interface-1.m
index 31706653f5..ea77050505 100644
--- a/test/SemaObjC/interface-1.m
+++ b/test/SemaObjC/interface-1.m
@@ -20,7 +20,7 @@ NSObject // expected-error {{cannot find interface declaration for 'NSObject
@end
void test2() {
- INT1 b[3]; // expected-warning {{array of interface 'INT1' should probably be array of pointers}}
+ INT1 b[3]; // expected-warning {{array of interface 'INT1' should probably be an array of pointers}}
INT1 *c = &b[0];
++c;
}