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:
Douglas Gregor 2011-10-28 23:11:43 +00:00
parent 6e315dd8ba
commit dba74af1b8
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ def Most : DiagGroup<"most", [
def ThreadSafety : DiagGroup<"thread-safety">;
// -Wall is -Wmost -Wparentheses -Wtop-level-comparison
def : DiagGroup<"all", [Most, Parentheses, CXX11Compat]>;
def : DiagGroup<"all", [Most, Parentheses]>;
// Aliases.
def : DiagGroup<"", [Extra]>; // -W = -Wextra