diff options
author | Adrian Prantl <aprantl@apple.com> | 2015-07-07 23:19:46 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2015-07-07 23:19:46 +0000 |
commit | bf47af30766d8118bb48cc5963903bfcdf0d7ee3 (patch) | |
tree | 7baf95cda479d8ec5c09a04812cf2577a87fdac2 /tools/driver/cc1_main.cpp | |
parent | 476d33351fa2d77b032c3bde36dd880b4bc79d92 (diff) | |
download | clang-bf47af30766d8118bb48cc5963903bfcdf0d7ee3.tar.gz |
Revert r241620 and follow-up commits while investigating linux buildbot failures.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/driver/cc1_main.cpp')
-rw-r--r-- | tools/driver/cc1_main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/driver/cc1_main.cpp b/tools/driver/cc1_main.cpp index 65f845ddc4..972bf5bf3e 100644 --- a/tools/driver/cc1_main.cpp +++ b/tools/driver/cc1_main.cpp @@ -14,7 +14,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Option/Arg.h" -#include "clang/CodeGen/ObjectFilePCHContainerOperations.h" +#include "clang/Frontend/PCHContainerOperations.h" #include "clang/Driver/DriverDiagnostic.h" #include "clang/Driver/Options.h" #include "clang/Frontend/CompilerInstance.h" @@ -65,8 +65,8 @@ void initializePollyPasses(llvm::PassRegistry &Registry); #endif int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { - std::unique_ptr<CompilerInstance> Clang(new CompilerInstance( - std::make_shared<ObjectFilePCHContainerOperations>())); + std::unique_ptr<CompilerInstance> Clang( + new CompilerInstance(std::make_shared<RawPCHContainerOperations>())); IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); // Initialize targets first, so that --version shows registered targets. |