[llvm] r289485 - clang-format to fix post-commit feedback
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 12 15:05:16 PST 2016
Author: cbieneman
Date: Mon Dec 12 17:05:15 2016
New Revision: 289485
URL: http://llvm.org/viewvc/llvm-project?rev=289485&view=rev
Log:
clang-format to fix post-commit feedback
Thanks dblaikie!
Modified:
llvm/trunk/tools/yaml2obj/yaml2macho.cpp
Modified: llvm/trunk/tools/yaml2obj/yaml2macho.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/yaml2obj/yaml2macho.cpp?rev=289485&r1=289484&r2=289485&view=diff
==============================================================================
--- llvm/trunk/tools/yaml2obj/yaml2macho.cpp (original)
+++ llvm/trunk/tools/yaml2obj/yaml2macho.cpp Mon Dec 12 17:05:15 2016
@@ -386,14 +386,13 @@ Error MachOWriter::writeLinkEditData(raw
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);
}
}
More information about the llvm-commits
mailing list