[llvm-branch-commits] [cfe-branch] r182338 - Merging r181487:

Bill Wendling isanbard at gmail.com
Mon May 20 17:22:29 PDT 2013


Author: void
Date: Mon May 20 19:22:29 2013
New Revision: 182338

URL: http://llvm.org/viewvc/llvm-project?rev=182338&view=rev
Log:
Merging r181487:
------------------------------------------------------------------------
r181487 | fjahanian | 2013-05-08 16:38:56 -0700 (Wed, 08 May 2013) | 4 lines

put noisy "unknown command tag name"  warning
under -Wdocumentation-unknown-command and off by default.
patch by Dmitri Gribenko.

------------------------------------------------------------------------

Modified:
    cfe/branches/release_33/   (props changed)
    cfe/branches/release_33/include/clang/Basic/DiagnosticCommentKinds.td
    cfe/branches/release_33/include/clang/Basic/DiagnosticGroups.td

Propchange: cfe/branches/release_33/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon May 20 19:22:29 2013
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:181286,181299,181368,181465,181728,181750,181909,182072,182266
+/cfe/trunk:181286,181299,181368,181465,181487,181728,181750,181909,182072,182266
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_33/include/clang/Basic/DiagnosticCommentKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_33/include/clang/Basic/DiagnosticCommentKinds.td?rev=182338&r1=182337&r2=182338&view=diff
==============================================================================
--- cfe/branches/release_33/include/clang/Basic/DiagnosticCommentKinds.td (original)
+++ cfe/branches/release_33/include/clang/Basic/DiagnosticCommentKinds.td Mon May 20 19:22:29 2013
@@ -157,7 +157,8 @@ def warn_verbatim_block_end_without_star
   InGroup<Documentation>, DefaultIgnore;
 
 def warn_unknown_comment_command_name : Warning<
-  "unknown command tag name">, InGroup<Documentation>, DefaultIgnore;
+  "unknown command tag name">,
+  InGroup<DocumentationUnknownCommand>, DefaultIgnore;
 
 } // end of documentation issue category
 } // end of AST component

Modified: cfe/branches/release_33/include/clang/Basic/DiagnosticGroups.td
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_33/include/clang/Basic/DiagnosticGroups.td?rev=182338&r1=182337&r2=182338&view=diff
==============================================================================
--- cfe/branches/release_33/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/branches/release_33/include/clang/Basic/DiagnosticGroups.td Mon May 20 19:22:29 2013
@@ -68,7 +68,9 @@ def : DiagGroup<"discard-qual">;
 def : DiagGroup<"div-by-zero">;
 
 def DocumentationHTML : DiagGroup<"documentation-html">;
-def DocumentationPedantic : DiagGroup<"documentation-pedantic">;
+def DocumentationUnknownCommand : DiagGroup<"documentation-unknown-command">;
+def DocumentationPedantic : DiagGroup<"documentation-pedantic",
+                                      [DocumentationUnknownCommand]>;
 def DocumentationDeprecatedSync : DiagGroup<"documentation-deprecated-sync">;
 def Documentation : DiagGroup<"documentation",
                               [DocumentationHTML,





More information about the llvm-branch-commits mailing list