summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-11-08 01:03:29 +0000
committerBob Wilson <bob.wilson@apple.com>2012-11-08 01:03:29 +0000
commitd0de8ceb577fdad9ef6873914b665061b6852a2c (patch)
treeeacc21a0f164af34c4f2c61a99eb32af9f5ac612 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parenta1edff0046f3549ad15ba1afdb35d091aa2ff811 (diff)
downloadbcm5719-llvm-d0de8ceb577fdad9ef6873914b665061b6852a2c.tar.gz
bcm5719-llvm-d0de8ceb577fdad9ef6873914b665061b6852a2c.zip
Remove code to fall back to llvm-gcc for i386 kexts.
More cleanups to follow in separate commits.... llvm-svn: 167566
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
-rw-r--r--clang/lib/Frontend/CreateInvocationFromCommandLine.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
index 0611291f827..d82cb6d0515 100644
--- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
+++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
@@ -49,11 +49,6 @@ clang::createInvocationFromCommandLine(ArrayRef<const char *> ArgList,
// FIXME: We shouldn't have to pass in the path info.
driver::Driver TheDriver("clang", llvm::sys::getDefaultTargetTriple(),
"a.out", false, *Diags);
- // Force driver to use clang.
- // FIXME: This seems like a hack. Maybe the "Clang" tool subclass should be
- // available for using it to get the arguments, thus avoiding the overkill
- // of using the driver.
- TheDriver.setForcedClangUse();
// Don't check that inputs exist, they may have been remapped.
TheDriver.setCheckInputsExist(false);
OpenPOWER on IntegriCloud