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

David Blaikie dblaikie at gmail.com
Wed Oct 17 11:47:30 PDT 2012


Author: dblaikie
Date: Wed Oct 17 13:47:30 2012
New Revision: 166118

URL: http://llvm.org/viewvc/llvm-project?rev=166118&view=rev
Log:
Move -Wint-to-pointer-cast from -Wall to -Wmost to group it with more things.

Addressing feedback on r166039 given by Matt Beaumont-Gay.

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=166118&r1=166117&r2=166118&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticGroups.td Wed Oct 17 13:47:30 2012
@@ -383,6 +383,7 @@
     DeleteNonVirtualDtor,
     Format,
     Implicit,
+    IntToPointerCast,
     MismatchedTags,
     MissingBraces,
     MultiChar,
@@ -414,7 +415,7 @@
 // Note that putting warnings in -Wall will not disable them by default. If a
 // warning should be active _only_ when -Wall is passed in, mark it as
 // DefaultIgnore in addition to putting it here.
-def : DiagGroup<"all", [Most, Parentheses, Switch, IntToPointerCast]>;
+def : DiagGroup<"all", [Most, Parentheses, Switch]>;
 
 // Warnings enabled by -pedantic.  This is magically filled in by TableGen.
 def Pedantic : DiagGroup<"pedantic">;





More information about the cfe-commits mailing list