From 64c4f29ff3b98d412e0235504364096e997b04bb Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Thu, 8 Nov 2012 01:03:29 +0000 Subject: Remove code to fall back to llvm-gcc for i386 kexts. More cleanups to follow in separate commits.... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167566 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/CreateInvocationFromCommandLine.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/Frontend/CreateInvocationFromCommandLine.cpp') diff --git a/lib/Frontend/CreateInvocationFromCommandLine.cpp b/lib/Frontend/CreateInvocationFromCommandLine.cpp index 0611291f82..d82cb6d051 100644 --- a/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -49,11 +49,6 @@ clang::createInvocationFromCommandLine(ArrayRef 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); -- cgit v1.2.3