diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-18 00:12:31 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-18 00:12:31 +0000 |
commit | d46f0acef540c3030f7b40525fb732fc343dcfad (patch) | |
tree | dc44aa31cc9d8409c5a8cb9f162ed730dc3e33ce /lib/Driver/ToolChain.cpp | |
parent | a35b1d5f1d02c19d44d7a41b1971b97eefb79d41 (diff) |
Driver: Add test case for -ccc-clang-archs (which, it turns out, was
inverted).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChain.cpp')
-rw-r--r-- | lib/Driver/ToolChain.cpp | 4 |
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; |