diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-01-14 01:30:55 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-01-14 01:30:55 +0000 |
| commit | 65928570c0ad3255b9c6973e4b12eb6e37bc2a7b (patch) | |
| tree | c3e9f7360ee17617232f7e9d4351c3040e0d169c /clang/tools/ccc/ccclib/ToolChain.py | |
| parent | 5de9b58bd25f8139e1885772e47ef21d89714d80 (diff) | |
| download | bcm5719-llvm-65928570c0ad3255b9c6973e4b12eb6e37bc2a7b.tar.gz bcm5719-llvm-65928570c0ad3255b9c6973e4b12eb6e37bc2a7b.zip | |
ccc: Use Clang/Compile for Objective-C files as well.
llvm-svn: 62206
Diffstat (limited to 'clang/tools/ccc/ccclib/ToolChain.py')
| -rw-r--r-- | clang/tools/ccc/ccclib/ToolChain.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/tools/ccc/ccclib/ToolChain.py b/clang/tools/ccc/ccclib/ToolChain.py index 13dc114a97b..083ce38e58b 100644 --- a/clang/tools/ccc/ccclib/ToolChain.py +++ b/clang/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 |

