]> granicus.if.org Git - clang/commitdiff
Move -Wc++11-compat out of -Wall. It causes trouble for clients that
authorDouglas Gregor <dgregor@apple.com>
Fri, 28 Oct 2011 23:11:43 +0000 (23:11 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 28 Oct 2011 23:11:43 +0000 (23:11 +0000)
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

index 91c7df7685231a7db9580bd58cd7e1ec22b872e7..343ffdab1ae9b86a7fa364b9ccce493a60df5cdc 100644 (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