From dba74af1b84b80ac1253c9888dce8fcfded7df23 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 28 Oct 2011 23:11:43 +0000 Subject: [PATCH] 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 --- clang/include/clang/Basic/DiagnosticGroups.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index 91c7df768523..343ffdab1ae9 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -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