зеркало из https://github.com/microsoft/clang-1.git
Remove some non-ascii characters. Thanks Gabor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
7e3a004c6e
Коммит
fea2511665
|
@ -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
|
||||
|
|
|
@ -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}}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче