aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-07-09 19:46:42 +0000
committerTed Kremenek <kremenek@apple.com>2008-07-09 19:46:42 +0000
commit1fa7f58b3a5e8aca4745c59f99659c3e11e876c4 (patch)
tree6639c3752aa3ae47aaba210294f76559cf846935 /lib/Analysis/GRExprEngine.cpp
parent7671bc1b740a9ccf29a6beb40db2e51e448139e9 (diff)
Remove getParentMap() from GRExprEngine.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r--lib/Analysis/GRExprEngine.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index 0c9a1b6df5..c4eddb9993 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/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;
}
//===----------------------------------------------------------------------===//