mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-23 20:34:58 +00:00
Use a range loop. NFC.
llvm-svn: 222730
This commit is contained in:
parent
81e0387f70
commit
4b6af9d891
@ -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…
x
Reference in New Issue
Block a user