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
+2 -1
View File
@@ -1348,7 +1348,8 @@ class TaskVisitor final : public VNVisitor {
AstNode* bodysp = nodep->stmtsp();
if (bodysp) {
unlinkAndClone(nodep, bodysp, true);
AstBegin* const tempp = new AstBegin{nodep->fileline(), "[EditWrapper]", bodysp};
AstBegin* const tempp
= new AstBegin{nodep->fileline(), "[EditWrapper]", bodysp, false, false};
VL_DANGLING(bodysp);
// If we cloned due to recursion, now need to rip out the ports
// (that remained in place) then got cloned