diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-07 23:33:11 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-07 23:33:11 +0000 |
commit | 28c1cd2138f700742235e1e720c1f7e6dc75a11a (patch) | |
tree | 90a877e791f9595b78b39cfcb668935ac1bb27cc /include/clang/Basic/DiagnosticCommentKinds.td | |
parent | 0689863f7b7fddf4a96e3036f3abe1d6f695ae51 (diff) |
HeaderDoc: Support more of HeaderDoc documentation
commands; top level tags such as @interface and
their 2nd level tags such as @coclass, etc.
// rdar://12379114
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticCommentKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticCommentKinds.td | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticCommentKinds.td b/include/clang/Basic/DiagnosticCommentKinds.td index c87a0a72ef..7682b85a13 100644 --- a/include/clang/Basic/DiagnosticCommentKinds.td +++ b/include/clang/Basic/DiagnosticCommentKinds.td @@ -79,6 +79,18 @@ def warn_doc_function_method_decl_mismatch : Warning< "%select{a function|an Objective-C method|a pointer to function}2 declaration">, InGroup<Documentation>, DefaultIgnore; +def warn_doc_api_container_decl_mismatch : Warning< + "'%select{\\|@}0%select{class|interface|protocol|struct|union}1' " + "command should not be used in a comment attached to a " + "non-%select{class|interface|protocol|struct|union}2 declaration">, + InGroup<Documentation>, DefaultIgnore; + +def warn_doc_container_decl_mismatch : Warning< + "'%select{\\|@}0%select{classdesign|coclass|dependency|helper" + "|helperclass|helps|instancesize|ownership|performance|security|superclass}1' " + "command should not be used in a comment attached to a non-container declaration">, + InGroup<Documentation>, DefaultIgnore; + def warn_doc_param_duplicate : Warning< "parameter '%0' is already documented">, InGroup<Documentation>, DefaultIgnore; |