mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-06 14:47:32 +00:00
Initial basic support of union type in suppression specifications
* src/abg-suppression.cc (suppression_matches_type_no_name): Support union types. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
215b7eb4fe
commit
9cc3ab5655
@ -813,9 +813,9 @@ suppression_matches_type_no_name(const type_suppression& s,
|
||||
}
|
||||
break;
|
||||
case type_suppression::UNION_TYPE_KIND:
|
||||
// We do not support unions yet. When we do, we should
|
||||
// replace the abort here by a "break;" statement.
|
||||
abort();
|
||||
if (!is_union_type(type))
|
||||
matches = false;
|
||||
break;
|
||||
case type_suppression::ENUM_TYPE_KIND:
|
||||
if (!is_enum_type(type))
|
||||
matches = false;
|
||||
|
Loading…
Reference in New Issue
Block a user