[clang] [NFCI][analyzer] Regularize NodeBuilder classes (PR #180960)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 12 08:45:12 PST 2026
================
@@ -399,55 +399,56 @@ class BranchNodeBuilder: public NodeBuilder {
ExplodedNode *Pred);
};
-class IndirectGotoNodeBuilder {
- const CoreEngine &Eng;
- const CFGBlock *Src;
+class IndirectGotoNodeBuilder : public NodeBuilder {
----------------
NagyDonat wrote:
Good points, thanks for mentioning them.
I was aware of `anchor` methods, but I didn't think deeply about their purpose and vaguely felt that the presence of some out-of-line methods makes them unnecessary. (Those were not virtual methods.)
https://github.com/llvm/llvm-project/pull/180960
More information about the cfe-commits
mailing list