diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-06 16:29:26 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-06 16:29:26 +0000 |
commit | 88815f3f81361692dd281000e3e46bf163b2f28b (patch) | |
tree | 7387551544bd1abfbff86fee11b3773d70b79cc8 /include/clang/Basic/DiagnosticCommentKinds.td | |
parent | 427435fb15593f19f86aee0c25e2b96e03aadf69 (diff) |
Comment diagnostics: \return in void function: specialize diagnostic text for
ObjC methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161324 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticCommentKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticCommentKinds.td | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticCommentKinds.td b/include/clang/Basic/DiagnosticCommentKinds.td index 7c13644926..1594c313d7 100644 --- a/include/clang/Basic/DiagnosticCommentKinds.td +++ b/include/clang/Basic/DiagnosticCommentKinds.td @@ -102,12 +102,13 @@ def note_doc_tparam_name_suggestion : Note< def warn_doc_returns_not_attached_to_a_function_decl : Warning< "'\\%0' command used in a comment that is not attached to " - "a function declaration">, + "a function or method declaration">, InGroup<Documentation>, DefaultIgnore; def warn_doc_returns_attached_to_a_void_function : Warning< "'\\%0' command used in a comment that is attached to a " - "%select{void function|constructor|destructor}1">, + "%select{function returning void|constructor|destructor|" + "method returning void}1">, InGroup<Documentation>, DefaultIgnore; } // end of documentation issue category |