[cfe-commits] r54954 - in /cfe/trunk: include/clang/Basic/DiagnosticKinds.def test/SemaObjC/interface-1.m

Chris Lattner sabre at nondot.org
Mon Aug 18 15:51:29 PDT 2008


Author: lattner
Date: Mon Aug 18 17:51:28 2008
New Revision: 54954

URL: http://llvm.org/viewvc/llvm-project?rev=54954&view=rev
Log:
proper grammar n stuph

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticKinds.def
    cfe/trunk/test/SemaObjC/interface-1.m

Modified: cfe/trunk/include/clang/Basic/DiagnosticKinds.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticKinds.def?rev=54954&r1=54953&r2=54954&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticKinds.def (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticKinds.def Mon Aug 18 17:51:28 2008
@@ -407,7 +407,7 @@
 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")

Modified: cfe/trunk/test/SemaObjC/interface-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/interface-1.m?rev=54954&r1=54953&r2=54954&view=diff

==============================================================================
--- cfe/trunk/test/SemaObjC/interface-1.m (original)
+++ cfe/trunk/test/SemaObjC/interface-1.m Mon Aug 18 17:51:28 2008
@@ -20,7 +20,7 @@
 @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;
 }





More information about the cfe-commits mailing list