summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-10-13 23:32:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-10-13 23:32:09 +0000
commit31ce793a0bab8f6f7b99a2763cb27eaf40e3ceb9 (patch)
treec478a45fbb2e357dba174413656770438ec42fa1 /clang/lib/Driver/Tools.cpp
parenta5abd03a8d0d74fdf5fbb329e71de420bcb26b94 (diff)
downloadbcm5719-llvm-31ce793a0bab8f6f7b99a2763cb27eaf40e3ceb9.tar.gz
bcm5719-llvm-31ce793a0bab8f6f7b99a2763cb27eaf40e3ceb9.zip
Rename -Wc++0x-compat, -Wc++0x-extensions and -Wc++0x-narrowing from c++0x to
c++11. The old names are kept for backwards-compatibility. Patch by Ahmed Charles! Names for backwards-compatible DiagGroups removed by me. llvm-svn: 141913
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 5bf0d2627d9..873f213531c 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -2581,7 +2581,9 @@ void darwin::CC1::RemoveCC1UnsupportedArgs(ArgStringList &CmdArgs) const {
.Case("c++0x-compat", true)
.Case("c++0x-extensions", true)
.Case("c++0x-narrowing", true)
- .Case("c++0x-static-nonintegral-init", true)
+ .Case("c++11-compat", true)
+ .Case("c++11-extensions", true)
+ .Case("c++11-narrowing", true)
.Case("conditional-uninitialized", true)
.Case("constant-conversion", true)
.Case("CFString-literal", true)
OpenPOWER on IntegriCloud