mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Use C++11 for loops, from clang-migrate. No functional change intended
This commit is contained in:
+3
-3
@@ -1726,9 +1726,9 @@ public:
|
||||
};
|
||||
|
||||
void LinkDotState::computeIfaceModSyms() {
|
||||
for (IfaceModSyms::iterator it = m_ifaceModSyms.begin(); it != m_ifaceModSyms.end(); ++it) {
|
||||
AstIface* nodep = it->first;
|
||||
VSymEnt* symp = it->second;
|
||||
for (const auto& itr : m_ifaceModSyms) {
|
||||
AstIface* nodep = itr.first;
|
||||
VSymEnt* symp = itr.second;
|
||||
LinkDotIfaceVisitor(nodep, symp, this);
|
||||
}
|
||||
m_ifaceModSyms.clear();
|
||||
|
||||
Reference in New Issue
Block a user