[cfe-commits] r91929 - /cfe/trunk/include/clang/Basic/DiagnosticGroups.td

Chris Lattner sabre at nondot.org
Tue Dec 22 14:29:12 PST 2009


Author: lattner
Date: Tue Dec 22 16:29:12 2009
New Revision: 91929

URL: http://llvm.org/viewvc/llvm-project?rev=91929&view=rev
Log:
accept -Wcomments as an alias for -Wcomment, PR5855

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticGroups.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?rev=91929&r1=91928&r2=91929&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticGroups.td Tue Dec 22 16:29:12 2009
@@ -171,8 +171,9 @@
 def : DiagGroup<"all", [Most, Parentheses]>;
 
 // Aliases.
-def : DiagGroup<"", [Extra]>;  // -W = -Wextra
-def : DiagGroup<"endif-labels", [ExtraTokens]>; // endif-labels = endif-tokens
+def : DiagGroup<"", [Extra]>;                   // -W = -Wextra
+def : DiagGroup<"endif-labels", [ExtraTokens]>; // -Wendif-labels=-Wendif-tokens
+def : DiagGroup<"comments", [Comment]>;         // -Wcomments = -Wcomment
 
 // A warning group for warnings that we want to have on by default in clang,
 // but which aren't on by default in GCC.





More information about the cfe-commits mailing list