From 56a12cea138c61e03e040dd6280a2831a091144b Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 17 Oct 2012 18:47:30 +0000 Subject: [PATCH] Move -Wint-to-pointer-cast from -Wall to -Wmost to group it with more things. Addressing feedback on r166039 given by Matt Beaumont-Gay. llvm-svn: 166118 --- clang/include/clang/Basic/DiagnosticGroups.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index 7951e35778a7..6fc6cad5f901 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -383,6 +383,7 @@ def Most : DiagGroup<"most", [ DeleteNonVirtualDtor, Format, Implicit, + IntToPointerCast, MismatchedTags, MissingBraces, MultiChar, @@ -414,7 +415,7 @@ def ThreadSafety : DiagGroup<"thread-safety", // 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">;