mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-06 14:47:32 +00:00
* include/abg-comparison.h (class scope_diff): New type. (compute_diff(scope_decl_sptr, scope_decl_sptr, scope_diff)): New declaration. (report_changes): New declaration. * src/abg-comparison.cc (struct scope_diff::priv): Define. (scope_diff::{clear_lookup_tables, lookup_tables_empty, ensure_lookup_tables_populated, scope_diff, member_changes, deleted_member_at, inserted_member_at, changed_types, changed_decls}): Define these new member functions. (compute_diff): Define. * include/abg-ir.h (decl_base_sptr): New typedef. (operator==(decl_base_sptr, decl_base_sptr)): Declare new operator. * src/abg-ir.cc (operator==(decl_base_sptr, decl_base_sptr)): Define. (scope_decl::{operator==, traverse}): Adjust for using vectors to store scope members now, rather than lists. (scope_decl::{declarations, scopes}): Make these types be vector. This makes the members of a scopes be vector, rather than lists. This enables them to be diffed. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
abg-comparison.cc | ||
abg-config.cc | ||
abg-corpus.cc | ||
abg-diff-utils.cc | ||
abg-hash.cc | ||
abg-ir.cc | ||
abg-libxml-utils.cc | ||
abg-libzip-utils.cc | ||
abg-reader.cc | ||
abg-traverse.cc | ||
abg-viz-common.cc | ||
abg-viz-dot.cc | ||
abg-viz-svg.cc | ||
abg-writer.cc | ||
Makefile.am |