diff options
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/ExprEngine.cpp | 4 |
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); } } |