From: Dodji Seketeli Date: Fri, 13 Jan 2017 23:53:24 +0000 (+0100) Subject: Misc style fixes X-Git-Tag: upstream/1.0~135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d828b3b32c85ee9a540d2de819d63ed788641b5;p=platform%2Fupstream%2Flibabigail.git Misc style fixes * include/abg-ir.h (class_or_union): Fix indentation. * src/abg-dwarf-reader.cc (get_die_pretty_representation): Add new line. * src/abg-ir.cc (struct class_decl::priv): Fix indentation. (virtual_member_function_less_than::operator()): Fix a typo in a comment. Signed-off-by: Dodji Seketeli --- diff --git a/include/abg-ir.h b/include/abg-ir.h index 42a70f44..be795c5d 100644 --- a/include/abg-ir.h +++ b/include/abg-ir.h @@ -3207,8 +3207,8 @@ public: /// Convenience typedef /// @{ - typedef vector member_types; - typedef vector data_members; + typedef vector member_types; + typedef vector data_members; typedef vector member_functions; typedef unordered_map virtual_mem_fn_map_type; typedef unordered_map string_mem_fn_ptr_map_type; diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc index 1789ff4c..100ec916 100644 --- a/src/abg-dwarf-reader.cc +++ b/src/abg-dwarf-reader.cc @@ -3189,6 +3189,7 @@ public: get_die_pretty_representation(Dwarf_Die *die, size_t where_offset) const { assert(die); + die_istring_map_type& map = die_pretty_repr_maps_.get_container(*const_cast(this), die); diff --git a/src/abg-ir.cc b/src/abg-ir.cc index a8d64b74..3af92d84 100644 --- a/src/abg-ir.cc +++ b/src/abg-ir.cc @@ -15600,9 +15600,9 @@ sort_virtual_member_functions(class_decl::member_functions& mem_fns); /// The private data for the class_decl type. struct class_decl::priv { - base_specs bases_; + base_specs bases_; unordered_map bases_map_; - member_functions virtual_mem_fns_; + member_functions virtual_mem_fns_; virtual_mem_fn_map_type virtual_mem_fns_map_; bool is_struct_; @@ -16304,7 +16304,7 @@ struct virtual_member_function_less_than { string fn, sn; - // If the functions have symbols, the compare their symbol-id + // If the functions have symbols, then compare their symbol-id // string. if (f.get_symbol() && s.get_symbol()) {