From: Chris Bieneman Date: Mon, 12 Dec 2016 23:05:15 +0000 (+0000) Subject: clang-format to fix post-commit feedback X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1dcfd2b00a66f959067943eebf438b06ef1ff55;p=llvm clang-format to fix post-commit feedback Thanks dblaikie! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289485 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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); } }