[clang] [NFC][analyzer] Eliminate IndirectGotoNodeBuilder (PR #187343)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 19 02:01:49 PDT 2026
================
@@ -2997,7 +2997,8 @@ void ExprEngine::processIndirectGoto(IndirectGotoNodeBuilder &Builder,
if (!L || cast<LabelStmt>(Succ->getLabel())->getDecl() == L) {
// FIXME: If 'V' was a symbolic value, then record that on this execution
// path it is equal to the address of the label leading to 'Succ'.
- Builder.generateNode(Succ, State, Pred);
+ BlockEdge BE(getCurrBlock(), Succ, Pred->getLocationContext());
+ Builder.generateNode(BE, State, Pred);
----------------
NagyDonat wrote:
This is now the inherited `NodeBuilder::generateNode()`.
https://github.com/llvm/llvm-project/pull/187343
More information about the cfe-commits
mailing list