diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-09 19:46:42 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-09 19:46:42 +0000 |
commit | 5f996d5a06c71578ccfdf34936d0682c0105bd78 (patch) | |
tree | 4e2893b5ea7a6f04151e9f50912795614bcf6b6a /clang/lib/Analysis/GRExprEngine.cpp | |
parent | 92e4ac15995910745bdb85d3502ab5525452d104 (diff) | |
download | bcm5719-llvm-5f996d5a06c71578ccfdf34936d0682c0105bd78.tar.gz bcm5719-llvm-5f996d5a06c71578ccfdf34936d0682c0105bd78.zip |
Remove getParentMap() from GRExprEngine.
llvm-svn: 53343
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | clang/lib/Analysis/GRExprEngine.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index 0c9a1b6df57..c4eddb99936 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/lib/Analysis/GRExprEngine.cpp @@ -13,7 +13,6 @@ // //===----------------------------------------------------------------------===// -#include "clang/AST/ParentMap.h" #include "clang/Analysis/PathSensitive/GRExprEngine.h" #include "clang/Analysis/PathSensitive/BugReporter.h" #include "clang/Basic/SourceManager.h" @@ -43,7 +42,6 @@ GRExprEngine::GRExprEngine(CFG& cfg, Decl& CD, ASTContext& Ctx, LiveVariables& L) : CoreEngine(cfg, CD, Ctx, *this), G(CoreEngine.getGraph()), - Parents(0), Liveness(L), Builder(NULL), StateMgr(G.getContext(), G.getAllocator()), @@ -67,17 +65,6 @@ GRExprEngine::~GRExprEngine() { delete *I; delete [] NSExceptionInstanceRaiseSelectors; - - delete Parents; -} - -ParentMap& GRExprEngine::getParentMap() { - if (!Parents) { - Stmt* Body = getGraph().getCodeDecl().getCodeBody(); - Parents = new ParentMap(Body); - } - - return *Parents; } //===----------------------------------------------------------------------===// |