[applied] ir: misc cleanups
Commit Message
Hello,
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>
---
include/abg-ir.h | 6 ------
1 file changed, 6 deletions(-)
@@ -1684,9 +1684,6 @@ public:
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*);
@@ -1884,9 +1881,6 @@ public:
friend void
remove_decl_from_scope(decl_base_sptr decl);
-
- friend type_base_sptr
- canonicalize(type_base_sptr);
};//end class scope_decl
bool