unsupported arch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69322
91177308-0d34-0410-b5e6-
96231b3b80d8
return false;
}
+ // Always use clang for precompiling, regardless of archs. PTH is
+ // platform independent, and this allows the use of the static
+ // analyzer on platforms we don't have full IRgen support for.
+ if (isa<PrecompileJobAction>(JA))
+ return true;
+
// Finally, don't use clang if this isn't one of the user specified
// archs to build.
if (!CCCClangArchs.empty() && !CCCClangArchs.count(ArchName)) {