Internals: Make some auto more explicit. No functional change.

This commit is contained in:
Wilson Snyder
2025-03-02 17:01:35 -05:00
parent 4bf8f47f59
commit ce211ebceb
8 changed files with 31 additions and 28 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ class LinkParseVisitor final : public VNVisitor {
newfl->warnOff(V3ErrorCode::PROCASSWIRE, true);
// Create a ParseRef to the wire. We cannot use the var as it may be deleted if
// it's a port (see t_var_set_link.v)
auto* const assp = new AstAssign{
AstAssign* const assp = new AstAssign{
newfl, new AstParseRef{newfl, VParseRefExp::PX_TEXT, nodep->name()},
VN_AS(nodep->valuep()->unlinkFrBack(), NodeExpr)};
if (nodep->lifetime().isAutomatic()) {