libabigail/include
Dodji Seketeli 4274691cdf Skip class types with changed names in leaf reports
In leaf reports, a class type which is said to have changed name
should not be reported because it doesn't make sense there.  In the
full report however, a class sub-type of a type foo changed name is
worth mentioning.

This patch detects name changes of class types in the context of leaf
reports and avoid reporting impacted types.

	* include/abg-comp-filter.h (has_class_or_union_type_name_change)
	(has_basic_or_class_type_name_change): Declare new functions.
	* include/abg-comparison.h (is_diff_of_class_or_union_type):
	Likewise.
	* src/abg-comp-filter.cc (has_class_or_union_type_name_change)
	(has_basic_or_class_type_name_change):
	* src/abg-comparison.cc
	(leaf_diff_node_marker_visitor::visit_begin): Use the new
	filtering::has_basic_or_class_type_name_change to test if a basic
	or class/union diff type carries a name change.  Update comment.
	* tests/data/test-diff-pkg/spice-server-0.12.4-19.el7.x86_64-0.12.8-1.el7.x86_64-report-3.txt:
	Adjust.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2018-01-18 15:56:13 +01:00
..
abg-comp-filter.h Skip class types with changed names in leaf reports 2018-01-18 15:56:13 +01:00
abg-comparison.h Skip class types with changed names in leaf reports 2018-01-18 15:56:13 +01:00
abg-config.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-corpus.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-diff-utils.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-dwarf-reader.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-fwd.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-hash.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-ini.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-interned-str.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-ir.h Bug 22692 - Consider Java as a language that supports the ODR 2018-01-10 12:45:51 +01:00
abg-libxml-utils.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-libzip-utils.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-reader.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-reporter.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-sptr-utils.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-suppression.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-tools-utils.h Fix symlinks paths handling in abipkgdiff 2018-01-12 13:38:01 +01:00
abg-traverse.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-version.h.in Add --version option to several libabigail tools 2015-11-16 12:54:10 +01:00
abg-viz-common.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-viz-dot.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-viz-svg.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-workers.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
abg-writer.h Update copyright notice for all source files 2018-01-08 18:24:26 +01:00
Makefile.am Allow several kinds of reports to be emitted 2017-10-06 12:33:50 +02:00