Improve V3Ast function usage ergonomics (#3650)

Signed-off-by: HungMingWu <[email protected]>
This commit is contained in:
HungMingWu
2022-10-21 14:12:12 +01:00
committed by Geza Lore
parent 627a144b83
commit 196f3292d5
30 changed files with 343 additions and 260 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ private:
// And its children may now be killable too; correct counts
// Recurse, as cells may not be directly under the module but in a generate
if (!modp->dead()) { // If was dead didn't increment user1's
modp->foreach<AstCell>([](const AstCell* cellp) { //
modp->foreach([](const AstCell* cellp) { //
cellp->modp()->user1Inc(-1);
});
}