summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-05-21 20:11:54 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-05-21 20:11:54 +0000
commit3169e80603c9496c250a2f74455d5ad12bc6ea6d (patch)
treef7acce3ae47d888aeb24d9434a7f3b177a5a90d4 /clang/lib/Driver/Driver.cpp
parent9bbf481f0203bd97038b4c9d8001476e0ac03c90 (diff)
downloadbcm5719-llvm-3169e80603c9496c250a2f74455d5ad12bc6ea6d.tar.gz
bcm5719-llvm-3169e80603c9496c250a2f74455d5ad12bc6ea6d.zip
[driver] When creating the compiler invocation out of command-line
arguments, force use of clang frontend for the driver. Fixes rdar://11356765. llvm-svn: 157205
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r--clang/lib/Driver/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 9340ba10e50..9e3ba84d5b6 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -59,7 +59,7 @@ Driver::Driver(StringRef ClangExecutable,
CCPrintOptions(false), CCPrintHeaders(false), CCLogDiagnostics(false),
CCGenDiagnostics(false), CCCGenericGCCName(""), CheckInputsExist(true),
CCCUseClang(true), CCCUseClangCXX(true), CCCUseClangCPP(true),
- CCCUsePCH(true), SuppressMissingInputWarning(false) {
+ ForcedClangUse(false), CCCUsePCH(true), SuppressMissingInputWarning(false) {
if (IsProduction) {
// In a "production" build, only use clang on architectures we expect to
// work.
OpenPOWER on IntegriCloud