summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FrontendAction.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-01-05 19:48:07 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-01-05 19:48:07 +0000
commit41565463bd69932307daacf7e9b51e6a16dc6853 (patch)
tree3718df560ad1c4b02e11fed76e880fb5f3b15d6f /clang/lib/Frontend/FrontendAction.cpp
parent4c050c21908d417517bc2cfa3d6700363ce1565c (diff)
downloadbcm5719-llvm-41565463bd69932307daacf7e9b51e6a16dc6853.tar.gz
bcm5719-llvm-41565463bd69932307daacf7e9b51e6a16dc6853.zip
Move Preprocessor over to std::shared_ptr rather than IntrusiveRefCntPtr
llvm-svn: 291166
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
-rw-r--r--clang/lib/Frontend/FrontendAction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp
index e871b310302..39fc1371a9e 100644
--- a/clang/lib/Frontend/FrontendAction.cpp
+++ b/clang/lib/Frontend/FrontendAction.cpp
@@ -224,7 +224,7 @@ bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
// file, otherwise the CompilerInstance will happily destroy them.
CI.setFileManager(&AST->getFileManager());
CI.setSourceManager(&AST->getSourceManager());
- CI.setPreprocessor(&AST->getPreprocessor());
+ CI.setPreprocessor(AST->getPreprocessorPtr());
CI.setASTContext(&AST->getASTContext());
setCurrentInput(Input, std::move(AST));
OpenPOWER on IntegriCloud