mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Fix and enforce brace new constructors. No functional change intended.
This commit is contained in:
+3
-3
@@ -190,11 +190,11 @@ class DescopeVisitor final : public VNVisitor {
|
||||
}
|
||||
// Not really any way the user could do this, and we'd need
|
||||
// to come up with some return value
|
||||
// newfuncp->addStmtsp(new AstDisplay(newfuncp->fileline(),
|
||||
// newfuncp->addStmtsp(new AstDisplay{newfuncp->fileline(),
|
||||
// VDisplayType::DT_WARNING,
|
||||
// "%%Error: "s+name+"() called with bad
|
||||
// scope", nullptr));
|
||||
// newfuncp->addStmtsp(new AstStop(newfuncp->fileline()));
|
||||
// scope", nullptr});
|
||||
// newfuncp->addStmtsp(new AstStop{newfuncp->fileline()});
|
||||
UINFOTREE(9, newfuncp, "", "newfunc");
|
||||
} else {
|
||||
// Only a single function under this name, we can rename it
|
||||
|
||||
Reference in New Issue
Block a user