aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-05-23 11:19:39 +0000
committerGabor Greif <ggreif@gmail.com>2008-05-23 11:19:39 +0000
commit1b76779233b23f8c64f2e1be9fa1f9a99ea694bd (patch)
tree6ac23be87ff357ceffdfad5f3cd0205bda155340
parentf377fc85488f4799ced714ac60e65a0e3f8f69cb (diff)
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51479 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/DiagnosticKinds.def2
-rw-r--r--test/Parser/objc-try-catch-1.m6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def
index 1eb36e4b51..beea258482 100644
--- a/include/clang/Basic/DiagnosticKinds.def
+++ b/include/clang/Basic/DiagnosticKinds.def
@@ -412,7 +412,7 @@ DIAG(err_objc_protocol_required, ERROR,
DIAG(err_objc_protocol_optional, ERROR,
"@optional may be specified in protocols only")
DIAG(err_missing_catch_finally, ERROR,
- "@try statment without a @catch and @finally clause")
+ "@try statement without a @catch and @finally clause")
DIAG(err_objc_concat_string, ERROR,
"unexpected token after Objective-C string")
DIAG(err_undef_superclass, ERROR,
diff --git a/test/Parser/objc-try-catch-1.m b/test/Parser/objc-try-catch-1.m
index ef4b94348d..072c4609eb 100644
--- a/test/Parser/objc-try-catch-1.m
+++ b/test/Parser/objc-try-catch-1.m
@@ -34,7 +34,7 @@ void * foo()
}
}
- @try { // expected-error {{@try statment without a @catch and @finally clause}}
+ @try { // expected-error {{@try statement without a @catch and @finally clause}}
return proc();
}
}
@@ -42,13 +42,13 @@ void * foo()
void bar()
{
- @try {}// expected-error {{@try statment without a @catch and @finally clause}}
+ @try {}// expected-error {{@try statement without a @catch and @finally clause}}
@"s"; // expected-warning {{result unused}}
}
void baz()
{
- @try {}// expected-error {{@try statment without a @catch and @finally clause}}
+ @try {}// expected-error {{@try statement without a @catch and @finally clause}}
@try {}
@finally {}
}