Reflow for loop.

llvm-svn: 187954
This commit is contained in:
Eric Christopher 2013-08-08 01:41:05 +00:00
parent 31b0576b01
commit d25f7fc4ae
1 changed files with 2 additions and 2 deletions

View File

@ -2167,8 +2167,8 @@ void DwarfUnits::emitUnits(DwarfDebug *DD,
unsigned DwarfUnits::getCUOffset(DIE *Die) { unsigned DwarfUnits::getCUOffset(DIE *Die) {
assert(Die->getTag() == dwarf::DW_TAG_compile_unit && assert(Die->getTag() == dwarf::DW_TAG_compile_unit &&
"Input DIE should be compile unit in getCUOffset."); "Input DIE should be compile unit in getCUOffset.");
for (SmallVectorImpl<CompileUnit *>::iterator I = CUs.begin(), for (SmallVectorImpl<CompileUnit *>::iterator I = CUs.begin(), E = CUs.end();
E = CUs.end(); I != E; ++I) { I != E; ++I) {
CompileUnit *TheCU = *I; CompileUnit *TheCU = *I;
if (TheCU->getCUDie() == Die) if (TheCU->getCUDie() == Die)
return TheCU->getDebugInfoOffset(); return TheCU->getDebugInfoOffset();