diff --git a/tools/yaml2obj/yaml2macho.cpp b/tools/yaml2obj/yaml2macho.cpp index 76dec4bb389..9d70f5888ac 100644 --- a/tools/yaml2obj/yaml2macho.cpp +++ b/tools/yaml2obj/yaml2macho.cpp @@ -386,14 +386,13 @@ Error MachOWriter::writeLinkEditData(raw_ostream &OS) { Error MachOWriter::writeDWARFData(raw_ostream &OS, std::vector &Sections) { - for(auto Section : Sections) { + for (auto Section : Sections) { ZeroToOffset(OS, Section.offset); if (0 == strncmp(&Section.sectname[0], "__debug_str", 16)) { yaml2debug_str(OS, Obj.DWARF); } else if (0 == strncmp(&Section.sectname[0], "__debug_abbrev", 16)) { yaml2debug_abbrev(OS, Obj.DWARF); - } - else if (0 == strncmp(&Section.sectname[0], "__debug_aranges", 16)) { + } else if (0 == strncmp(&Section.sectname[0], "__debug_aranges", 16)) { yaml2debug_aranges(OS, Obj.DWARF); } }