aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/ToolChain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/ToolChain.cpp')
-rw-r--r--lib/Driver/ToolChain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Driver/ToolChain.cpp b/lib/Driver/ToolChain.cpp
index ea2528bfff..11dc9aad8f 100644
--- a/lib/Driver/ToolChain.cpp
+++ b/lib/Driver/ToolChain.cpp
@@ -55,8 +55,8 @@ bool ToolChain::ShouldUseClangCompiler(const Compilation &C,
// Finally, don't use clang if this isn't one of the user specified
// archs to build.
- if (!Host.getDriver().CCCClangArchs.empty() &&
- Host.getDriver().CCCClangArchs.count(getArchName()))
+ if (!Host.getDriver().CCCClangArchs.empty() &&
+ !Host.getDriver().CCCClangArchs.count(getArchName()))
return false;
return true;