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
@@ -382,7 +382,7 @@ void V3Broken::allowMidvisitorCheck(bool flag) { s_brokenAllowMidvisitorCheck =
void V3Broken::selfTest() {
// Exercise addNewed and deleted for coverage, as otherwise only used with VL_LEAK_CHECKS
FileLine* const fl = new FileLine{FileLine::commandLineFilename()};
AstNode* const newp = new AstBegin{fl, "[EditWrapper]", nullptr};
AstNode* const newp = new AstBegin{fl, "[EditWrapper]", nullptr, false, false};
// Don't actually do it with VL_LEAK_CHECKS, when new/delete calls these.
// Otherwise you call addNewed twice on the same address, which is an error.
#ifndef VL_LEAK_CHECKS