Internals: Fix constructor style.

This commit is contained in:
Wilson Snyder
2022-11-19 14:45:38 -05:00
parent d0e7177d8e
commit 21d80cdfa1
19 changed files with 78 additions and 78 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ private:
? oldVarp->name()
: nodep->scopep()->nameDotless() + "__DOT__" + oldVarp->name();
AstVar* const newVarp
= new AstVar(oldVarp->fileline(), oldVarp->varType(), newName, oldVarp);
= new AstVar{oldVarp->fileline(), oldVarp->varType(), newName, oldVarp};
newVarp->funcLocal(true);
funcp->addInitsp(newVarp);