When looking at something else, I noticed some useless friend function
declaration. Namely, the "canonicalize()" function is declared friend
to the decl_base and scope_decl clases, which is now useless.
This patch removes those declarations.
* include/abg-ir.h (decl_base, scope_decl): Remove the declaration
of canonicalize() as friend to these classes.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
void
set_is_declaration_only(bool f);
- friend type_base_sptr
- canonicalize(type_base_sptr);
-
friend bool
equals(const decl_base&, const decl_base&, change_kind*);
friend void
remove_decl_from_scope(decl_base_sptr decl);
-
- friend type_base_sptr
- canonicalize(type_base_sptr);
};//end class scope_decl
bool