From: Douglas Gregor Date: Fri, 28 Oct 2011 23:11:43 +0000 (+0000) Subject: Move -Wc++11-compat out of -Wall. It causes trouble for clients that X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50af19cb8aec23a182c9032e98e13f5da7707440;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143248 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticGroups.td b/include/clang/Basic/DiagnosticGroups.td index 91c7df7685..343ffdab1a 100644 --- a/include/clang/Basic/DiagnosticGroups.td +++ b/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