[cfe-commits] r64330 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.def test/SemaObjC/try-catch.m

Steve Naroff snaroff at apple.com
Wed Feb 11 14:01:53 PST 2009


Author: snaroff
Date: Wed Feb 11 16:01:48 2009
New Revision: 64330

URL: http://llvm.org/viewvc/llvm-project?rev=64330&view=rev
Log:
Remove some non-ascii characters. Thanks Gabor.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.def
    cfe/trunk/test/SemaObjC/try-catch.m

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

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.def (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.def Wed Feb 11 16:01:48 2009
@@ -870,7 +870,7 @@
 DIAG(warn_objc_throw_expects_object, WARNING,
      "invalid %0 argument (expected an ObjC object type)")
 DIAG(error_rethrow_used_outside_catch, ERROR,
-     "‘@throw’ (rethrow) used outside of a @catch block")
+     "@throw (rethrow) used outside of a @catch block")
 
 
 // C++ casts

Modified: cfe/trunk/test/SemaObjC/try-catch.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/try-catch.m?rev=64330&r1=64329&r2=64330&view=diff

==============================================================================
--- cfe/trunk/test/SemaObjC/try-catch.m (original)
+++ cfe/trunk/test/SemaObjC/try-catch.m Wed Feb 11 16:01:48 2009
@@ -39,5 +39,5 @@
 
 int foo() {
   @throw 42; // expected-warning {{invalid 'int' argument (expected an ObjC object type)}}
-  @throw; // expected-error {{‘@throw’ (rethrow) used outside of a @catch block}}
+  @throw; // expected-error {{@throw (rethrow) used outside of a @catch block}}
 }





More information about the cfe-commits mailing list