mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: C++11 style cleanups. No functional change.
This commit is contained in:
+2
-2
@@ -271,7 +271,7 @@ private:
|
||||
squashAssignposts();
|
||||
|
||||
// Replace any node4p varscopes with the new scope
|
||||
LifePostElimVisitor visitor(nodep);
|
||||
LifePostElimVisitor visitor{nodep};
|
||||
}
|
||||
virtual void visit(AstVarRef* nodep) override {
|
||||
// Consumption/generation of a variable,
|
||||
@@ -348,6 +348,6 @@ public:
|
||||
void V3LifePost::lifepostAll(AstNetlist* nodep) {
|
||||
UINFO(2, __FUNCTION__ << ": " << endl);
|
||||
// Mark redundant AssignPost
|
||||
{ LifePostDlyVisitor visitor(nodep); } // Destruct before checking
|
||||
{ LifePostDlyVisitor visitor{nodep}; } // Destruct before checking
|
||||
V3Global::dumpCheckGlobalTree("life_post", 0, v3Global.opt.dumpTreeLevel(__FILE__) >= 3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user