Spell Objective-C correctly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176563 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Basic/DiagnosticCommentKinds.td b/include/clang/Basic/DiagnosticCommentKinds.td
index 1bf290e..c87a0a7 100644
--- a/include/clang/Basic/DiagnosticCommentKinds.td
+++ b/include/clang/Basic/DiagnosticCommentKinds.td
@@ -76,7 +76,7 @@
def warn_doc_function_method_decl_mismatch : Warning<
"'%select{\\|@}0%select{function|method|callback}1' command should be "
"used in a comment attached to "
- "%select{a function|an objective-C method|a pointer to function}2 declaration">,
+ "%select{a function|an Objective-C method|a pointer to function}2 declaration">,
InGroup<Documentation>, DefaultIgnore;
def warn_doc_param_duplicate : Warning<
diff --git a/test/Sema/warn-documentation.m b/test/Sema/warn-documentation.m
index 81919cf..5150955 100644
--- a/test/Sema/warn-documentation.m
+++ b/test/Sema/warn-documentation.m
@@ -98,7 +98,7 @@
typedef int (^test_param1)(int aaa, int ccc);
// rdar://13094352
-// expected-warning@+2 {{'@method' command should be used in a comment attached to an objective-C method declaration}}
+// expected-warning@+2 {{'@method' command should be used in a comment attached to an Objective-C method declaration}}
@interface I
/*! @method Base64EncodeEx
*/