From d1dcfd2b00a66f959067943eebf438b06ef1ff55 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Mon, 12 Dec 2016 23:05:15 +0000 Subject: [PATCH] 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 --- tools/yaml2obj/yaml2macho.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } }