mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
C++11: Favor auto, range for. No functional change intended.
This commit is contained in:
+1
-2
@@ -255,8 +255,7 @@ private:
|
||||
UINFO(8, " DISABLE " << nodep << endl);
|
||||
iterateChildren(nodep);
|
||||
AstNodeBlock* blockp = nullptr;
|
||||
for (BlockStack::reverse_iterator it = m_blockStack.rbegin(); it != m_blockStack.rend();
|
||||
++it) {
|
||||
for (auto it = m_blockStack.rbegin(); it != m_blockStack.rend(); ++it) {
|
||||
UINFO(9, " UNDERBLK " << *it << endl);
|
||||
if ((*it)->name() == nodep->name()) {
|
||||
blockp = *it;
|
||||
|
||||
Reference in New Issue
Block a user