summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-08-27 06:55:26 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-08-27 06:55:26 +0000
commit3ca89b9f2049790b2cc1edf43efea84b938c0a15 (patch)
treed902c7d3fa024d5d94c7524a269eba1eaa109c3d /clang/lib/Analysis/GRExprEngine.cpp
parentf7095b0ae935629578f37d684d817c3e9031a8eb (diff)
downloadbcm5719-llvm-3ca89b9f2049790b2cc1edf43efea84b938c0a15.tar.gz
bcm5719-llvm-3ca89b9f2049790b2cc1edf43efea84b938c0a15.zip
Remove a unused member variable. Instead query the option from AnalysisManager.
llvm-svn: 80226
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r--clang/lib/Analysis/GRExprEngine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp
index 41caeaf68a9..668e3a9db3c 100644
--- a/clang/lib/Analysis/GRExprEngine.cpp
+++ b/clang/lib/Analysis/GRExprEngine.cpp
@@ -245,9 +245,9 @@ void GRExprEngine::ProcessStmt(Stmt* S, GRStmtNodeBuilder& builder) {
// Create the cleaned state.
SymbolReaper SymReaper(*AMgr.getLiveVariables(), SymMgr);
- CleanedState = PurgeDead ? StateMgr.RemoveDeadBindings(EntryNode->getState(),
- CurrentStmt, SymReaper)
- : EntryNode->getState();
+ CleanedState = AMgr.shouldPurgeDead()
+ ? StateMgr.RemoveDeadBindings(EntryNode->getState(), CurrentStmt, SymReaper)
+ : EntryNode->getState();
// Process any special transfer function for dead symbols.
ExplodedNodeSet Tmp;
OpenPOWER on IntegriCloud