mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-01 23:12:05 +00:00
76bfae5aac
* include/abg-comparison.h (diff_context::{set_corpora, get_first_corpus, get_second_corpus}): Declare new member functions. * src/abg-comparison.cc (diff_context::{set_corpora, get_first_corpus, get_second_corpus}): Define them. (compute_diff): In the overload for corpus_sptr stick the corpora being compared, into the diff context. (class_diff::ensure_lookup_tables_populated): If a member function is allegedly removed, check that its underlying symbol is removed from the corpus as well. Otherwise, consider that the member function hasn't been removed. Likewise, if a member function is allegedly added, check that its underlying symbol has been added to the corpus as well. Otherwise, consider that the member function hasn't been added. The symbols can now be accessed through the two corpora that are now present in the diff context. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
abg-comp-filter.h | ||
abg-comparison.h | ||
abg-config.h | ||
abg-corpus.h | ||
abg-diff-utils.h | ||
abg-dwarf-reader.h | ||
abg-fwd.h | ||
abg-hash.h | ||
abg-ir.h | ||
abg-libxml-utils.h | ||
abg-libzip-utils.h | ||
abg-reader.h | ||
abg-sptr-utils.h | ||
abg-traverse.h | ||
abg-version.h.in | ||
abg-viz-common.h | ||
abg-viz-dot.h | ||
abg-viz-svg.h | ||
abg-writer.h | ||
Makefile.am |