Internals: Add VL_DO_DANGLING in some missing places. No functional change intended.

This commit is contained in:
Wilson Snyder
2026-09-23 18:27:40 -04:00
parent 7fd68b58ca
commit 3d386f8fa5
24 changed files with 58 additions and 57 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class LocalizeVisitor final : public VNVisitor {
// Yank the VarScope from it's parent and schedule them for deletion. Leave the Var
// for now, as not all VarScopes referencing this Var might be localized.
pushDeletep(nodep->unlinkFrBack());
pushDeletep(nodep->unlinkFrBack()); // TODO nodep used past here
// In each referencing function, create a replacement local variable
AstVar* const oldVarp = nodep->varp();