diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-01-05 19:48:07 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-01-05 19:48:07 +0000 |
commit | 41565463bd69932307daacf7e9b51e6a16dc6853 (patch) | |
tree | 3718df560ad1c4b02e11fed76e880fb5f3b15d6f /clang/lib/StaticAnalyzer/Frontend | |
parent | 4c050c21908d417517bc2cfa3d6700363ce1565c (diff) | |
download | bcm5719-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/StaticAnalyzer/Frontend')
-rw-r--r-- | clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp b/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp index 0a284851b08..5baa78904bf 100644 --- a/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp +++ b/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp @@ -89,7 +89,7 @@ void ModelInjector::onBodySynthesis(const NamedDecl *D) { // is set to true to avoid double free issues Instance.setFileManager(&CI.getFileManager()); Instance.setSourceManager(&SM); - Instance.setPreprocessor(&CI.getPreprocessor()); + Instance.setPreprocessor(CI.getPreprocessorPtr()); Instance.setASTContext(&CI.getASTContext()); Instance.getPreprocessor().InitializeForModelFile(); |