mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Internals: Make all AstBegin constructor arguments explicit (#6464)
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user