summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-01-11 16:53:44 +0000
committerTed Kremenek <kremenek@apple.com>2011-01-11 16:53:44 +0000
commit841df11dab60ee950173f478edf56075cf7d8c7e (patch)
tree7836658956e0ec2219cfd91735762a3ad64ba38b /clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp
parent5a384c86b278588647a26615b3ecfdb0c0b117fd (diff)
downloadbcm5719-llvm-841df11dab60ee950173f478edf56075cf7d8c7e.tar.gz
bcm5719-llvm-841df11dab60ee950173f478edf56075cf7d8c7e.zip
Remove ProgramPoint parameter from GenericNodeBuilder::generateNode().
llvm-svn: 123240
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp
index e6d9d715d43..3f9eb1b451e 100644
--- a/clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp
@@ -1089,9 +1089,7 @@ void ExprEngine::processCFGBlockEntrance(ExplodedNodeSet &dstNodes,
block->getBlockID()) >= AMgr.getMaxVisit()) {
static int tag = 0;
- const BlockEntrance &BE = nodeBuilder.getProgramPoint();
- BlockEntrance BE_tagged(BE.getBlock(), BE.getLocationContext(), &tag);
- nodeBuilder.generateNode(pred->getState(), pred, BE_tagged, true);
+ nodeBuilder.generateNode(pred->getState(), pred, &tag, true);
}
}
OpenPOWER on IntegriCloud