summaryrefslogtreecommitdiffstats
path: root/clang/tools/ccc/ccclib/Driver.py
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/ccc/ccclib/Driver.py')
-rw-r--r--clang/tools/ccc/ccclib/Driver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/ccc/ccclib/Driver.py b/clang/tools/ccc/ccclib/Driver.py
index e8d2d3d0279..e52640e2525 100644
--- a/clang/tools/ccc/ccclib/Driver.py
+++ b/clang/tools/ccc/ccclib/Driver.py
@@ -662,6 +662,7 @@ class Driver(object):
not hasSaveTemps and
tool.hasIntegratedCPP()):
if (len(phase.inputs) == 1 and
+ isinstance(phase.inputs[0], Phases.JobAction) and
isinstance(phase.inputs[0].phase, Phases.PreprocessPhase)):
useIntegratedCPP = True
inputList = phase.inputs[0].inputs
OpenPOWER on IntegriCloud