[cfe-commits] r62206 - /cfe/trunk/tools/ccc/ccclib/ToolChain.py

Daniel Dunbar daniel at zuster.org
Tue Jan 13 17:30:55 PST 2009


Author: ddunbar
Date: Tue Jan 13 19:30:55 2009
New Revision: 62206

URL: http://llvm.org/viewvc/llvm-project?rev=62206&view=rev
Log:
ccc: Use Clang/Compile for Objective-C files as well.

Modified:
    cfe/trunk/tools/ccc/ccclib/ToolChain.py

Modified: cfe/trunk/tools/ccc/ccclib/ToolChain.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/ToolChain.py?rev=62206&r1=62205&r2=62206&view=diff

==============================================================================
--- cfe/trunk/tools/ccc/ccclib/ToolChain.py (original)
+++ cfe/trunk/tools/ccc/ccclib/ToolChain.py Tue Jan 13 19:30:55 2009
@@ -78,7 +78,8 @@
         
         if (self.driver.cccClang and
             self.archName == 'i386' and
-            action.inputs[0].type in (Types.CType, Types.CTypeNoPP) and
+            action.inputs[0].type in (Types.CType, Types.CTypeNoPP,
+                                      Types.ObjCType, Types.ObjCTypeNoPP) and
             isinstance(action.phase, Phases.CompilePhase)):
             return self.clangTool
 





More information about the cfe-commits mailing list