[clang] [NFC][analyzer] Remove StmtNodeBuilder (PR #181431)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 15 13:59:18 PST 2026


================
@@ -341,8 +308,22 @@ class StmtNodeBuilder : public NodeBuilder {
                              ProgramPoint::Kind K = ProgramPoint::PostStmtKind){
     const ProgramPoint &L = ProgramPoint::getProgramPoint(S, K,
                                   Pred->getLocationContext(), tag);
-    return NodeBuilder::generateSink(L, St, Pred);
+    return generateSink(L, St, Pred);
   }
+
+  const ExplodedNodeSet &getResults() { return Frontier; }
+
+  const NodeBuilderContext &getContext() { return C; }
+  bool hasGeneratedNodes() { return HasGeneratedNodes; }
----------------
NagyDonat wrote:

Valid point :) I hope that I will eventually remove this code, but until then I'll fix it because why not :smile:

https://github.com/llvm/llvm-project/pull/181431


More information about the cfe-commits mailing list