]> granicus.if.org Git - clang/commitdiff
Remove some non-ascii characters. Thanks Gabor.
authorSteve Naroff <snaroff@apple.com>
Wed, 11 Feb 2009 22:01:48 +0000 (22:01 +0000)
committerSteve Naroff <snaroff@apple.com>
Wed, 11 Feb 2009 22:01:48 +0000 (22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64330 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.def
test/SemaObjC/try-catch.m

index b354bf87676d728f863e1f8962d1b0056bbf572c..9cec83a41179e9af263dfcf5d1e8b1beb255b172 100644 (file)
@@ -870,7 +870,7 @@ DIAG(error_bad_receiver_type, ERROR,
 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
index bb8b8491d66fe02276a76404e97697ed47c1c099..d3be70c74ab62884ac9693c8c3a931ed15ca3438 100644 (file)
@@ -39,5 +39,5 @@ typedef struct _NSZone NSZone;
 
 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}}
 }