mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-06 22:58:01 +00:00
[has_type_change] Better detect type size changes
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>
This commit is contained in:
parent
4fba6bea17
commit
e528d5b8ac
@ -176,6 +176,9 @@ has_type_size_change(const diff* diff)
|
||||
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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user