Skip to content
Snippets Groups Projects
Commit 56a12cea authored by David Blaikie's avatar David Blaikie
Browse files

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
parent 07364426
No related branches found
No related tags found
No related merge requests found
...@@ -383,6 +383,7 @@ def Most : DiagGroup<"most", [ ...@@ -383,6 +383,7 @@ def Most : DiagGroup<"most", [
DeleteNonVirtualDtor, DeleteNonVirtualDtor,
Format, Format,
Implicit, Implicit,
IntToPointerCast,
MismatchedTags, MismatchedTags,
MissingBraces, MissingBraces,
MultiChar, MultiChar,
...@@ -414,7 +415,7 @@ def ThreadSafety : DiagGroup<"thread-safety", ...@@ -414,7 +415,7 @@ def ThreadSafety : DiagGroup<"thread-safety",
// Note that putting warnings in -Wall will not disable them by default. If a // 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 // warning should be active _only_ when -Wall is passed in, mark it as
// DefaultIgnore in addition to putting it here. // 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. // Warnings enabled by -pedantic. This is magically filled in by TableGen.
def Pedantic : DiagGroup<"pedantic">; def Pedantic : DiagGroup<"pedantic">;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment