Internals: Make all AstBegin constructor arguments explicit (#6464)

This commit is contained in:
Geza Lore
2025-09-20 13:16:03 -04:00
committed by GitHub
parent 19ca140165
commit e0e8503151
16 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -470,7 +470,7 @@ class DynScopeVisitor final : public VNVisitor {
})) {
nodep->user2(true);
// Put it in a fork to prevent lifetime issues with the local
AstBegin* const beginp = new AstBegin{nodep->fileline(), "", nullptr};
AstBegin* const beginp = new AstBegin{nodep->fileline(), "", nullptr, false, false};
AstFork* const forkp = new AstFork{nodep->fileline(), "", beginp};
forkp->joinType(VJoinType::JOIN_NONE);
nodep->replaceWith(forkp);