[clang] [NFC][analyzer] Eliminate NodeBuilder from ExprEngine visit methods and from their utility methods (PR #212186)
Gábor Tóthvári via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 05:03:47 PDT 2026
================
@@ -369,12 +365,11 @@ void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex,
case CK_PointerToIntegral: {
SVal V = state->getSVal(Ex, SF);
if (isa<nonloc::PointerToMember>(V)) {
- state = state->BindExpr(CastE, SF, UnknownVal());
- Bldr.generateNode(CastE, Pred, state);
+ Dst.insert(Engine.makeNodeWithBinding(Pred, CastE, V));
----------------
tigbr wrote:
Right, I should correct that.
https://github.com/llvm/llvm-project/pull/212186
More information about the cfe-commits
mailing list