aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-02-11 22:01:48 +0000
committerSteve Naroff <snaroff@apple.com>2009-02-11 22:01:48 +0000
commitfea2511665fcadc7f6c6d87b4f2ab9d3d5e2d308 (patch)
treec24d0055b859786cc81333ce684c56ce5bc37d1a
parent7e3a004c6ed1fe87912203b9c5a113f8da89d261 (diff)
Remove some non-ascii characters. Thanks Gabor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64330 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.def2
-rw-r--r--test/SemaObjC/try-catch.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.def b/include/clang/Basic/DiagnosticSemaKinds.def
index b354bf8767..9cec83a411 100644
--- a/include/clang/Basic/DiagnosticSemaKinds.def
+++ b/include/clang/Basic/DiagnosticSemaKinds.def
@@ -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
diff --git a/test/SemaObjC/try-catch.m b/test/SemaObjC/try-catch.m
index bb8b8491d6..d3be70c74a 100644
--- a/test/SemaObjC/try-catch.m
+++ b/test/SemaObjC/try-catch.m
@@ -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}}
}