* [PATCH, applied] ir: misc cleanups
@ 2022-12-29 11:19 Dodji Seketeli
0 siblings, 0 replies; only message in thread
From: Dodji Seketeli @ 2022-12-29 11:19 UTC (permalink / raw)
To: libabigail
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(-)
diff --git a/include/abg-ir.h b/include/abg-ir.h
index 68321588..498e1a2f 100644
--- a/include/abg-ir.h
+++ b/include/abg-ir.h
@@ -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
--
2.31.1
--
Dodji
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-29 11:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-29 11:19 [PATCH, applied] ir: misc cleanups Dodji Seketeli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).