aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-14 01:30:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-14 01:30:55 +0000
commit44833db628dd0c3a81110f5be5c890bbd2f664a1 (patch)
tree7231b05f32186af4e3e8b21484f61ba06237d072
parent4c92fea0c838e0df95f7aa53c0c592b659ea1b10 (diff)
ccc: Use Clang/Compile for Objective-C files as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62206 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/ccc/ccclib/ToolChain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ccc/ccclib/ToolChain.py b/tools/ccc/ccclib/ToolChain.py
index 13dc114a97..083ce38e58 100644
--- a/tools/ccc/ccclib/ToolChain.py
+++ b/tools/ccc/ccclib/ToolChain.py
@@ -78,7 +78,8 @@ class Darwin_X86_ToolChain(ToolChain):
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