mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 15:04:46 +00:00
Misc style fixes
* src/abg-hash.cc
(class_decl::member_function_template:#️⃣:operator()): Remove
useless vertical space.
* src/abg-ir.cc (class_decl::class_decl): Properly indent.
* src/abg-writer.cc (fn_tmpl_shared_ptr_map)
(class_tmpl_shared_ptr_map): Properly indent these typedefs.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
1377f9fb48
commit
69380c1aa0
@ -458,7 +458,6 @@ struct class_decl::member_function_template::hash
|
||||
v = hashing::combine_hashes(v, hash_function_tdecl(t));
|
||||
v = hashing::combine_hashes(v, hash_bool(t.is_constructor()));
|
||||
v = hashing::combine_hashes(v, hash_bool(t.is_const()));
|
||||
|
||||
return v;
|
||||
}
|
||||
};
|
||||
|
@ -2238,13 +2238,13 @@ class_decl::class_decl(const std::string& name, size_t size_in_bits,
|
||||
member_functions& mbr_fns)
|
||||
: decl_base(name, locus, name, vis),
|
||||
type_base(size_in_bits, align_in_bits),
|
||||
scope_type_decl(name, size_in_bits, align_in_bits, locus, vis),
|
||||
hashing_started_(false),
|
||||
is_declaration_only_(false),
|
||||
bases_(bases),
|
||||
member_types_(mbrs),
|
||||
data_members_(data_mbrs),
|
||||
member_functions_(mbr_fns)
|
||||
scope_type_decl(name, size_in_bits, align_in_bits, locus, vis),
|
||||
hashing_started_(false),
|
||||
is_declaration_only_(false),
|
||||
bases_(bases),
|
||||
member_types_(mbrs),
|
||||
data_members_(data_mbrs),
|
||||
member_functions_(mbr_fns)
|
||||
{
|
||||
for (member_types::iterator i = mbrs.begin(); i != mbrs.end(); ++i)
|
||||
if (!(*i)->get_scope())
|
||||
|
@ -99,11 +99,11 @@ typedef unordered_map<type_base*,
|
||||
|
||||
typedef unordered_map<shared_ptr<function_tdecl>,
|
||||
string,
|
||||
function_tdecl::shared_ptr_hash> fn_tmpl_shared_ptr_map;
|
||||
function_tdecl::shared_ptr_hash> fn_tmpl_shared_ptr_map;
|
||||
|
||||
typedef unordered_map<shared_ptr<class_tdecl>,
|
||||
string,
|
||||
class_tdecl::shared_ptr_hash> class_tmpl_shared_ptr_map;
|
||||
class_tdecl::shared_ptr_hash> class_tmpl_shared_ptr_map;
|
||||
|
||||
class write_context
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user