diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-06 17:55:30 +0000 | 
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-06 17:55:30 +0000 | 
| commit | ff81b824a2b8f1a85f57df6512f1970d3bc2f2b8 (patch) | |
| tree | 46a71d5b36ed41c829fda88a3e7e7fb2ebf2a730 /clang | |
| parent | 408bdad5b4d0eb5afc885738369c2dde01a3b2eb (diff) | |
| download | bcm5719-llvm-ff81b824a2b8f1a85f57df6512f1970d3bc2f2b8.tar.gz bcm5719-llvm-ff81b824a2b8f1a85f57df6512f1970d3bc2f2b8.zip  | |
Spell Objective-C correctly.
llvm-svn: 176563
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Basic/DiagnosticCommentKinds.td | 2 | ||||
| -rw-r--r-- | clang/test/Sema/warn-documentation.m | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/DiagnosticCommentKinds.td b/clang/include/clang/Basic/DiagnosticCommentKinds.td index 1bf290edf66..c87a0a72ef7 100644 --- a/clang/include/clang/Basic/DiagnosticCommentKinds.td +++ b/clang/include/clang/Basic/DiagnosticCommentKinds.td @@ -76,7 +76,7 @@ def warn_doc_param_not_attached_to_a_function_decl : Warning<  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/clang/test/Sema/warn-documentation.m b/clang/test/Sema/warn-documentation.m index 81919cfe774..5150955f63c 100644 --- a/clang/test/Sema/warn-documentation.m +++ b/clang/test/Sema/warn-documentation.m @@ -98,7 +98,7 @@ int b;  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  */  | 

