From: Fariborz Jahanian Date: Thu, 10 Jan 2008 18:10:31 +0000 (+0000) Subject: Remove non-ascii chaaracter from diagnostic X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a12a75faa61d7298ea27d8606a7d8f8f3584f9fa;p=clang Remove non-ascii chaaracter from diagnostic git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45836 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def index 39f1876dd1..1191455d74 100644 --- a/include/clang/Basic/DiagnosticKinds.def +++ b/include/clang/Basic/DiagnosticKinds.def @@ -479,7 +479,7 @@ DIAG(err_selector_element_type, ERROR, DIAG(err_toomany_element_decls, ERROR, "Only one element declaration is allowed") DIAG(warn_expected_implementation, WARNING, - "'@end' must appear in an @implementation context") + "@end must appear in an @implementation context") //===----------------------------------------------------------------------===// // Semantic Analysis diff --git a/test/Parser/objc-missing-impl.m b/test/Parser/objc-missing-impl.m index 062130d358..7d38371190 100644 --- a/test/Parser/objc-missing-impl.m +++ b/test/Parser/objc-missing-impl.m @@ -1,2 +1,2 @@ // RUN: clang -fsyntax-only -verify %s -@end // expected-warning {{‘@end’ must appear in an @implementation context}} +@end // expected-warning {{@end must appear in an @implementation context}}