diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-04 00:47:28 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-04 00:47:28 +0000 |
commit | efa78d163214fd9e909ab2bf6911edfbc7a2b9df (patch) | |
tree | db8626b9d3a4fbd0695f0bb9f22c07f56e683eeb /include | |
parent | c95d413660756c474bc8f97e5b32edc7ddff3850 (diff) |
[doc parsing]: Make warning about unknown command
tags off by default for now. Move diagnostic code
to DiagnosticCommentKinds.td. // rdar://12381408
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Basic/DiagnosticCommentKinds.td | 3 | ||||
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/include/clang/Basic/DiagnosticCommentKinds.td b/include/clang/Basic/DiagnosticCommentKinds.td index 3880e0e5b4..3df03cdb33 100644 --- a/include/clang/Basic/DiagnosticCommentKinds.td +++ b/include/clang/Basic/DiagnosticCommentKinds.td @@ -156,5 +156,8 @@ def warn_verbatim_block_end_without_start : Warning< "'%select{\\|@}0%1' command does not terminate a verbatim text block">, InGroup<Documentation>, DefaultIgnore; +def warn_unknown_comment_command_name : Warning< + "unknown command tag name">, InGroup<Documentation>, DefaultIgnore; + } // end of documentation issue category } // end of AST component diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index fb0ab3c1a4..548823f1f0 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -27,10 +27,6 @@ def backslash_newline_space : Warning< "backslash and newline separated by space">, InGroup<DiagGroup<"backslash-newline-escape">>; -// comment parsing -def warn_unknown_comment_command_name : Warning< - "unknown command tag name">, InGroup<DiagGroup<"comment-command-tag">>; - // Digraphs. def warn_cxx98_compat_less_colon_colon : Warning< "'<::' is treated as digraph '<:' (aka '[') followed by ':' in C++98">, @@ -590,4 +586,4 @@ def warn_uncovered_module_header : Warning< def err_expected_id_building_module : Error< "expected a module name in '__building_module' expression">; -}
\ No newline at end of file +} |