While looking at something else, I noticed that we could be missing
type size changes on function parameters when using has_type_change.
Fixed thus.
* src/abg-comp-filter.cc (has_type_change): Support function
parameters.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
if (!diff)
return false;
+ if (const fn_parm_diff* fn_parm_d = is_fn_parm_diff(diff))
+ diff = fn_parm_d->type_diff().get();
+
type_base_sptr f = is_type(diff->first_subject()),
s = is_type(diff->second_subject());