[clang] [NFC][analyzer] Remove StmtNodeBuilder (PR #181431)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 17 06:56:08 PST 2026
================
@@ -267,8 +260,9 @@ class NodeBuilder {
NodeBuilder(const ExplodedNodeSet &SrcSet, ExplodedNodeSet &DstSet,
const NodeBuilderContext &Ctx)
: C(Ctx), Frontier(DstSet) {
- Frontier.insert(SrcSet);
- assert(hasNoSinksInFrontier());
+ for (ExplodedNode *Node : SrcSet)
+ if (!Node->isSink())
+ Frontier.insert(Node);
}
----------------
NagyDonat wrote:
Anyway, I'm removing this commit from this PR and moving it to my next PR, because I realized that this change is not logically related to the removal of `StmtNodeBuilder` but it is related to my next change.
https://github.com/llvm/llvm-project/pull/181431
More information about the cfe-commits
mailing list