[PATCH 0/3] Tidy some peeling code

Giuliano Procida gprocida@google.com
Thu Jul 9 13:14:26 GMT 2020


Hi Dodji.

This is a short series of very small clean-ups. All the changes relate
to helper functions that peel off some of the outer layers of a type
to see what might be inside.

There may be an opportunity to tighten up the checks being done in
functions like maybe_canonicalize_type and
types_have_similar_structure which are typical users of these helpers.

Regards,
Giuliano.

Giuliano Procida (3):
  abg-comparison.h: Remove stray declaration
  Remove unused is_reference_or_pointer_diff.
  Simplify peel_typedef_pointer_or_reference_type

 include/abg-comparison.h |  5 -----
 include/abg-fwd.h        |  6 ++----
 src/abg-comp-filter.cc   |  6 ++----
 src/abg-comparison.cc    | 15 ---------------
 src/abg-dwarf-reader.cc  |  6 ++----
 src/abg-ir.cc            | 40 +++++++++-------------------------------
 6 files changed, 15 insertions(+), 63 deletions(-)

-- 
2.27.0.383.g050319c2ae-goog



More information about the Libabigail mailing list