]> granicus.if.org Git - clang/commitdiff
proper grammar n stuph
authorChris Lattner <sabre@nondot.org>
Mon, 18 Aug 2008 22:51:28 +0000 (22:51 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 18 Aug 2008 22:51:28 +0000 (22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54954 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticKinds.def
test/SemaObjC/interface-1.m

index 6eeaffa68356f8b6a7a144babfd2e49a63bc3717..d7eee9f1a68ee66f0110272832774e89b0cb3ab5 100644 (file)
@@ -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")
index 31706653f5943fd0628de07f830c6b3e192b3f71..ea77050505480562942eda61e77d86850574b0ed 100644 (file)
@@ -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;
 }