summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/WindowsToolChain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/WindowsToolChain.cpp')
-rw-r--r--clang/lib/Driver/WindowsToolChain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/WindowsToolChain.cpp b/clang/lib/Driver/WindowsToolChain.cpp
index e7ab4ced87f..d0938c26864 100644
--- a/clang/lib/Driver/WindowsToolChain.cpp
+++ b/clang/lib/Driver/WindowsToolChain.cpp
@@ -38,7 +38,7 @@ Windows::Windows(const Driver &D, const llvm::Triple& Triple)
Tool &Windows::SelectTool(const Compilation &C, const JobAction &JA,
const ActionList &Inputs) const {
Action::ActionClass Key;
- if (getDriver().ShouldUseClangCompiler(C, JA, getTriple()))
+ if (getDriver().ShouldUseClangCompiler(JA))
Key = Action::AnalyzeJobClass;
else
Key = JA.getKind();
OpenPOWER on IntegriCloud