diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-12 16:59:50 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-12 16:59:50 +0000 |
commit | 3854e7864e6e647b8a7debba934fa2605820dfb9 (patch) | |
tree | 80618b826996937672d8fa2bce3c8217b3ae1d38 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 5b302bfc8e01cd61b2c5d09d402d02050b3421fa (diff) | |
download | llvm-3854e7864e6e647b8a7debba934fa2605820dfb9.zip llvm-3854e7864e6e647b8a7debba934fa2605820dfb9.tar.gz llvm-3854e7864e6e647b8a7debba934fa2605820dfb9.tar.bz2 |
Revert "Make clang-based tools find libc++ on MacOS"
This breaks the LLDB bots.
llvm-svn: 346675
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
-rw-r--r-- | clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp index 3a5e1e8..2d4c40f 100644 --- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -11,18 +11,17 @@ // //===----------------------------------------------------------------------===// +#include "clang/Frontend/Utils.h" #include "clang/Basic/DiagnosticOptions.h" -#include "clang/Driver/Action.h" #include "clang/Driver/Compilation.h" #include "clang/Driver/Driver.h" +#include "clang/Driver/Action.h" #include "clang/Driver/Options.h" #include "clang/Driver/Tool.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Frontend/FrontendDiagnostic.h" -#include "clang/Frontend/Utils.h" #include "llvm/Option/ArgList.h" #include "llvm/Support/Host.h" -#include "llvm/Support/Path.h" using namespace clang; using namespace llvm::opt; @@ -103,8 +102,5 @@ std::unique_ptr<CompilerInvocation> clang::createInvocationFromCommandLine( CCArgs.size(), *Diags)) return nullptr; - // Patch up the install dir, so we find the same standard library as the - // original compiler on MacOS. - CI->getHeaderSearchOpts().InstallDir = TheDriver.getInstalledDir(); return CI; } |