From 50af19cb8aec23a182c9032e98e13f5da7707440 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143248 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticGroups.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0