mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-14 05:54:50 +00:00
Misc style fixes
* src/abg-hash.cc (class_decl:#️⃣:operator()): Remove some dead
code.
* src/abg-ir.cc (equals): In the overload for class_decl,
re-indent.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
4fb1cb6263
commit
4028c8ec97
@ -613,9 +613,6 @@ class_decl::hash::operator()(const class_decl& t) const
|
||||
assert(!t.get_is_declaration_only());
|
||||
|
||||
std::tr1::hash<string> hash_string;
|
||||
#if 0
|
||||
type_base::dynamic_hash hash_type;
|
||||
#endif
|
||||
scope_type_decl::hash hash_scope_type;
|
||||
class_decl::base_spec::hash hash_base;
|
||||
var_decl::hash hash_data_member;
|
||||
|
@ -10404,12 +10404,12 @@ equals(const class_decl& l, const class_decl& r, change_kind* k)
|
||||
RETURN(false);
|
||||
}
|
||||
|
||||
for(class_decl::base_specs::const_iterator
|
||||
b0 = l.get_base_specifiers().begin(),
|
||||
b1 = r.get_base_specifiers().begin();
|
||||
(b0 != l.get_base_specifiers().end()
|
||||
for (class_decl::base_specs::const_iterator
|
||||
b0 = l.get_base_specifiers().begin(),
|
||||
b1 = r.get_base_specifiers().begin();
|
||||
(b0 != l.get_base_specifiers().end()
|
||||
&& b1 != r.get_base_specifiers().end());
|
||||
++b0, ++b1)
|
||||
++b0, ++b1)
|
||||
if (*b0 != *b1)
|
||||
{
|
||||
result = false;
|
||||
|
Loading…
Reference in New Issue
Block a user