From bb01e648ef7248cad6c172f115c2bf6edecc909f Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 9 Jul 2019 09:12:31 +0200 Subject: [PATCH] Misc indent cleanup * src/abg-dwarf-reader.cc (addr_elf_symbol_sptr_map_sptr): Fix a typo in the comment of this typedef. * src/abg-ir.cc (hash_type_or_decl): Fix typo in a comment. * src/abg-writer.cc (write_translation_unit): Remove useless vertical space. Signed-off-by: Dodji Seketeli --- src/abg-dwarf-reader.cc | 6 +++--- src/abg-ir.cc | 2 +- src/abg-writer.cc | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc index 677496a..182279d 100644 --- a/src/abg-dwarf-reader.cc +++ b/src/abg-dwarf-reader.cc @@ -177,7 +177,7 @@ typedef shared_ptr address_set_sptr; /// addr_elf_symbol_sptr_map_type. typedef shared_ptr addr_elf_symbol_sptr_map_sptr; -/// Convenience typedef for a map that associates and @ref +/// Convenience typedef for a map that associates an @ref /// interned_string to a @ref function_type_sptr. typedef unordered_mapget_hash(); } diff --git a/src/abg-writer.cc b/src/abg-writer.cc index bfaba63..b38bdec 100644 --- a/src/abg-writer.cc +++ b/src/abg-writer.cc @@ -1942,7 +1942,6 @@ write_translation_unit(write_context& ctxt, if (decl_base_sptr d = is_decl(*i)) if (ctxt.decl_is_emitted(d)) continue; - o << "\n"; write_decl(*i, ctxt, indent + c.get_xml_element_indent()); } -- 2.7.4