[cfe-commits] r137907 - /cfe/trunk/lib/Driver/Tools.cpp

Eric Christopher echristo at apple.com
Wed Aug 17 17:26:15 PDT 2011


Author: echristo
Date: Wed Aug 17 19:26:15 2011
New Revision: 137907

URL: http://llvm.org/viewvc/llvm-project?rev=137907&view=rev
Log:
Add some more options that aren't handled by llvm-gcc on fallback.

This is going to be made a table.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=137907&r1=137906&r2=137907&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Wed Aug 17 19:26:15 2011
@@ -2448,7 +2448,11 @@
 void darwin::CC1::RemoveCC1UnsupportedArgs(ArgStringList &CmdArgs) const {
   for (ArgStringList::iterator it = CmdArgs.begin(), ie = CmdArgs.end(); 
        it != ie;) {
-    if (!strcmp(*it, "-Wno-self-assign")) {
+    if (!strcmp(*it, "-Wno-self-assign") ||
+	!strcmp(*it, "-Wno-c++0x-extensions") ||
+	!strcmp(*it, "-Wc++0x-extensions") ||
+	!strcmp(*it, "-Wno-sign-conversion") ||
+	!strcmp(*it, "-Wsign-conversion")) {
       it = CmdArgs.erase(it);
       ie = CmdArgs.end();
     } else {





More information about the cfe-commits mailing list