diff options
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 43e9e5d69f..29202b5411 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -1803,12 +1803,6 @@ bool Driver::ShouldUseClangCompiler(const Compilation &C, const JobAction &JA, return false; } - // Always use clang for precompiling, AST generation, and rewriting, - // regardless of archs. - if (isa<PrecompileJobAction>(JA) || - types::isOnlyAcceptedByClang(JA.getType())) - return true; - return true; } |