mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 02:38:15 +02:00
C++11: Favor auto, range for. No functional change intended.
This commit is contained in:
+1
-2
@@ -124,8 +124,7 @@ private:
|
||||
if (debug() >= 9) whilep->dumpTree(cout, "-new: ");
|
||||
|
||||
// Remove remaining assigns
|
||||
for (AssVec::iterator it = m_mgAssignps.begin(); it != m_mgAssignps.end(); ++it) {
|
||||
AstNodeAssign* assp = *it;
|
||||
for (AstNodeAssign* assp : m_mgAssignps) {
|
||||
if (assp != bodyp) {
|
||||
VL_DO_DANGLING(assp->unlinkFrBack()->deleteTree(), assp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user