[cfe-commits] r51479 - in /cfe/trunk: include/clang/Basic/DiagnosticKinds.def test/Parser/objc-try-catch-1.m

Gabor Greif ggreif at gmail.com
Fri May 23 04:19:49 PDT 2008


Author: ggreif
Date: Fri May 23 06:19:39 2008
New Revision: 51479

URL: http://llvm.org/viewvc/llvm-project?rev=51479&view=rev
Log:
fix typo

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticKinds.def
    cfe/trunk/test/Parser/objc-try-catch-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=51479&r1=51478&r2=51479&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticKinds.def (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticKinds.def Fri May 23 06:19:39 2008
@@ -412,7 +412,7 @@
 DIAG(err_objc_protocol_optional, ERROR,
      "@optional may be specified in protocols only")
 DIAG(err_missing_catch_finally, ERROR,
-     "@try statment without a @catch and @finally clause")
+     "@try statement without a @catch and @finally clause")
 DIAG(err_objc_concat_string, ERROR,
      "unexpected token after Objective-C string")
 DIAG(err_undef_superclass, ERROR,

Modified: cfe/trunk/test/Parser/objc-try-catch-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-try-catch-1.m?rev=51479&r1=51478&r2=51479&view=diff

==============================================================================
--- cfe/trunk/test/Parser/objc-try-catch-1.m (original)
+++ cfe/trunk/test/Parser/objc-try-catch-1.m Fri May 23 06:19:39 2008
@@ -34,7 +34,7 @@
     }
   }
 
-  @try {  // expected-error {{@try statment without a @catch and @finally clause}}
+  @try {  // expected-error {{@try statement without a @catch and @finally clause}}
     return proc();
   }
 }
@@ -42,13 +42,13 @@
 
 void bar()
 {
-  @try {}// expected-error {{@try statment without a @catch and @finally clause}}
+  @try {}// expected-error {{@try statement without a @catch and @finally clause}}
   @"s"; //  expected-warning {{result unused}}
 }
 
 void baz()
 {
-  @try {}// expected-error {{@try statment without a @catch and @finally clause}}
+  @try {}// expected-error {{@try statement without a @catch and @finally clause}}
   @try {}
   @finally {}
 }





More information about the cfe-commits mailing list