diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-09-04 23:54:37 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-09-04 23:54:37 +0000 |
commit | 7c35f6194f02d415a8e5b134c77910d79155d167 (patch) | |
tree | 290f715cb6667d23197a13d48d7e5bf5f00982a9 /clang/lib/StaticAnalyzer/Core/ProgramState.cpp | |
parent | 91e7902622d942bdb9f21eeea92b0aeeca52701b (diff) | |
download | bcm5719-llvm-7c35f6194f02d415a8e5b134c77910d79155d167.tar.gz bcm5719-llvm-7c35f6194f02d415a8e5b134c77910d79155d167.zip |
unique_ptrify the result of ConstraintManagerCreator and StoreManagerCreator
llvm-svn: 217206
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ProgramState.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/ProgramState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ProgramState.cpp b/clang/lib/StaticAnalyzer/Core/ProgramState.cpp index 1714a2744a1..60b32c722eb 100644 --- a/clang/lib/StaticAnalyzer/Core/ProgramState.cpp +++ b/clang/lib/StaticAnalyzer/Core/ProgramState.cpp @@ -75,8 +75,8 @@ ProgramStateManager::ProgramStateManager(ASTContext &Ctx, : Eng(SubEng), EnvMgr(alloc), GDMFactory(alloc), svalBuilder(createSimpleSValBuilder(alloc, Ctx, *this)), CallEventMgr(new CallEventManager(alloc)), Alloc(alloc) { - StoreMgr.reset((*CreateSMgr)(*this)); - ConstraintMgr.reset((*CreateCMgr)(*this, SubEng)); + StoreMgr = (*CreateSMgr)(*this); + ConstraintMgr = (*CreateCMgr)(*this, SubEng); } |