r176563 - Spell Objective-C correctly.

Fariborz Jahanian fjahanian at apple.com
Wed Mar 6 09:55:30 PST 2013


Author: fjahanian
Date: Wed Mar  6 11:55:30 2013
New Revision: 176563

URL: http://llvm.org/viewvc/llvm-project?rev=176563&view=rev
Log:
Spell Objective-C correctly.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticCommentKinds.td
    cfe/trunk/test/Sema/warn-documentation.m

Modified: cfe/trunk/include/clang/Basic/DiagnosticCommentKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticCommentKinds.td?rev=176563&r1=176562&r2=176563&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticCommentKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticCommentKinds.td Wed Mar  6 11:55:30 2013
@@ -76,7 +76,7 @@ def warn_doc_param_not_attached_to_a_fun
 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<

Modified: cfe/trunk/test/Sema/warn-documentation.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/warn-documentation.m?rev=176563&r1=176562&r2=176563&view=diff
==============================================================================
--- cfe/trunk/test/Sema/warn-documentation.m (original)
+++ cfe/trunk/test/Sema/warn-documentation.m Wed Mar  6 11:55:30 2013
@@ -98,7 +98,7 @@ int b;
 typedef int (^test_param1)(int aaa, int ccc);
 
 // rdar://13094352
-// expected-warning at +2 {{'@method' command should be used in a comment attached to an objective-C method declaration}}
+// expected-warning at +2 {{'@method' command should be used in a comment attached to an Objective-C method declaration}}
 @interface I
 /*!	@method Base64EncodeEx
 */





More information about the cfe-commits mailing list