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

Daniel Dunbar daniel at zuster.org
Thu Mar 17 10:37:29 PDT 2011


Author: ddunbar
Date: Thu Mar 17 12:37:29 2011
New Revision: 127819

URL: http://llvm.org/viewvc/llvm-project?rev=127819&view=rev
Log:
Driver/Darwin: Suppress spurious warning about -force_cpusubtype_ALL.

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=127819&r1=127818&r2=127819&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Mar 17 12:37:29 2011
@@ -1905,7 +1905,8 @@
                     !IsOpt))
     CmdArgs.push_back("-relax-all");
 
-  // FIXME: Add -force_cpusubtype_ALL support, once we have it.
+  // Ignore explicit -force_cpusubtype_ALL option.
+  (void) Args.hasArg(options::OPT_force__cpusubtype__ALL);
 
   // FIXME: Add -g support, once we have it.
 





More information about the cfe-commits mailing list