forked from OSchip/llvm-project
Move -Wc++11-compat out of -Wall. It causes trouble for clients that
define their own "nullptr" class in C++98 and build with -Wall. llvm-svn: 143248
This commit is contained in:
parent
6e315dd8ba
commit
dba74af1b8
|
@ -302,7 +302,7 @@ def Most : DiagGroup<"most", [
|
||||||
def ThreadSafety : DiagGroup<"thread-safety">;
|
def ThreadSafety : DiagGroup<"thread-safety">;
|
||||||
|
|
||||||
// -Wall is -Wmost -Wparentheses -Wtop-level-comparison
|
// -Wall is -Wmost -Wparentheses -Wtop-level-comparison
|
||||||
def : DiagGroup<"all", [Most, Parentheses, CXX11Compat]>;
|
def : DiagGroup<"all", [Most, Parentheses]>;
|
||||||
|
|
||||||
// Aliases.
|
// Aliases.
|
||||||
def : DiagGroup<"", [Extra]>; // -W = -Wextra
|
def : DiagGroup<"", [Extra]>; // -W = -Wextra
|
||||||
|
|
Loading…
Reference in New Issue