]> sourceware.org Git - libabigail.git/commit
ir: remove redundant cycle detection code in equals
authorDodji Seketeli <dodji@redhat.com>
Mon, 10 Oct 2022 10:37:15 +0000 (12:37 +0200)
committerDodji Seketeli <dodji@redhat.com>
Mon, 10 Oct 2022 10:37:15 +0000 (12:37 +0200)
commit007d36d8235acb9185b9ee2583b14396bf3e340b
tree0be894a01b8d65559274f7d019bc9fc411898df9
parent0d49c09e9cb4a5f45a697013a6e54fa708714cdc
ir: remove redundant cycle detection code in equals

While looking at something else, I realized that in the overload for
the equals() function for class_or_union, the cycle detection
management code was redundant for the case where we are looking
comparing a decl-only class to another class.

This patch removes that redundant code.

* src/abg-ir.cc (equals):  In the overload for class_or_union
remove redundant cycle detection code when comparison a decl-only
class to another class.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-ir.cc
This page took 0.030349 seconds and 5 git commands to generate.