mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Use a range loop. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8665715bdd
commit
95f8931c55
@ -75,12 +75,11 @@ public:
|
||||
|
||||
/// Dump out the type map for debugging purposes.
|
||||
void dump() const {
|
||||
for (DenseMap<Type*, Type*>::const_iterator
|
||||
I = MappedTypes.begin(), E = MappedTypes.end(); I != E; ++I) {
|
||||
for (auto &Pair : MappedTypes) {
|
||||
dbgs() << "TypeMap: ";
|
||||
I->first->print(dbgs());
|
||||
Pair.first->print(dbgs());
|
||||
dbgs() << " => ";
|
||||
I->second->print(dbgs());
|
||||
Pair.second->print(dbgs());
|
||||
dbgs() << '\n';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user