clang-format to fix post-commit feedback
authorChris Bieneman <beanz@apple.com>
Mon, 12 Dec 2016 23:05:15 +0000 (23:05 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 12 Dec 2016 23:05:15 +0000 (23:05 +0000)
Thanks dblaikie!

llvm-svn: 289485

llvm/tools/yaml2obj/yaml2macho.cpp

index 76dec4b..9d70f58 100644 (file)
@@ -386,14 +386,13 @@ Error MachOWriter::writeLinkEditData(raw_ostream &OS) {
 
 Error MachOWriter::writeDWARFData(raw_ostream &OS,
                                   std::vector<MachOYAML::Section> &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);
     }
   }