mbox series

[0/3] Tidy some peeling code

Message ID 20200709131429.1366074-1-gprocida@google.com
Headers show
Series Tidy some peeling code | expand

Message

Giuliano Procida July 9, 2020, 1:14 p.m. UTC
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(-)