Internals: Change AstAssignVarScope into AstAliasScope (#6280) (#6512)

Rename and make it derive from AstNode instead of AstNodeAssign.

Small step towards #6280. No functional change.
This commit is contained in:
Geza Lore
2025-09-30 06:40:17 +01:00
committed by GitHub
parent 283810cbf7
commit e04f51ebd2
9 changed files with 25 additions and 34 deletions
+2 -2
View File
@@ -2326,8 +2326,8 @@ private:
iterateChildren(nodep);
pushDeletep(nodep->unlinkFrBack());
}
void visit(AstAssignVarScope* nodep) override { // ScopeVisitor::
UINFO(5, "ASSIGNVARSCOPE " << nodep);
void visit(AstAliasScope* nodep) override { // ScopeVisitor::
UINFO(5, "ALIASSCOPE " << nodep);
UINFOTREE(9, nodep, "", "avs");
VSymEnt* rhsSymp;
{