mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-05 22:27:34 +00:00
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 <dodji@redhat.com>
This commit is contained in:
parent
eff603b4c3
commit
bb01e648ef
@ -177,7 +177,7 @@ typedef shared_ptr<address_set_type> address_set_sptr;
|
||||
/// addr_elf_symbol_sptr_map_type.
|
||||
typedef shared_ptr<addr_elf_symbol_sptr_map_type> 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_map<interned_string,
|
||||
function_type_sptr,
|
||||
@ -5554,8 +5554,8 @@ public:
|
||||
|
||||
Dwarf_Die equiv_die;
|
||||
ABG_ASSERT(get_canonical_die(die, equiv_die,
|
||||
/*where=*/0,
|
||||
/*die_as_type=*/true));
|
||||
/*where=*/0,
|
||||
/*die_as_type=*/true));
|
||||
|
||||
ABG_ASSERT(get_die_source(&equiv_die, source));
|
||||
o = dwarf_dieoffset(&equiv_die);
|
||||
|
@ -21687,7 +21687,7 @@ hash_type_or_decl(const type_or_decl_base *tod)
|
||||
}
|
||||
else
|
||||
// This is a *really* *SLOW* path. If it shows up in a
|
||||
// performan profile, I bet it'd be a good idea to try to
|
||||
// performance profile, I bet it'd be a good idea to try to
|
||||
// avoid it altogether.
|
||||
result = d->get_hash();
|
||||
}
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user