libabigail/tests
Dodji Seketeli 3b3dbf6643 Rename diff::length() into diff::has_changes()
Since it turned out that the length of the changes carried by a diff
node has never been used in the algorithms of the comparison engine,
the diff::length() feels wrong.  What we want is rather a name like
diff::has_changes() so this is what this patch does.

	* include/abg-comparison.h (*::has_changes): Rename the ::length()
	method of all the diff types that inherit the diff class into
	this, in the class declarations.
	* src/abg-comparison.cc (*::has_changes): Do the same as in the
	declarations, in the definitions.
	(diff::to_be_reported, distinct_diff::has_local_changes)
	(distinct_diff::report, distinct_diff::, array_diff::has_changes)
	(reference_diff::has_changes, qualified_type_diff::has_changes)
	(enum_diff::has_changes, translation_unit_diff::has_changes)
	(suppression_categorization_visitor::visit_end)
	(redundancy_marking_visitor::visit_begin): Adjust.
	* tests/test-diff-dwarf.cc (main): Adjust.
	* tools/abidiff.cc (main): Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2015-02-05 12:44:59 +01:00
..
data Hand-code the string representation of GElf_Ehdr::e_machine 2015-01-26 22:17:39 +01:00
Makefile.am Adjust archive-related code for the recent addition of tools_utils::* 2015-01-13 11:02:10 +01:00
print-diff-tree.cc Update copyright years 2015-01-07 17:52:10 +01:00
test-abicompat.cc Update copyright year for tests/test-abicompat.cc 2015-01-09 14:09:16 +01:00
test-abidiff.cc Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00
test-alt-dwarf-file.cc Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00
test-core-diff.cc Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00
test-diff2.cc Update copyright years 2015-01-07 17:52:10 +01:00
test-diff-dwarf.cc Rename diff::length() into diff::has_changes() 2015-02-05 12:44:59 +01:00
test-diff-filter.cc Fix chaining of descendant node of qualified type diff node 2015-01-26 12:12:57 +01:00
test-diff-suppr.cc Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00
test-dot.cc Correct DOT merge. 2013-07-23 23:13:55 +02:00
test-ir-walker.cc Update copyright years 2015-01-07 17:52:10 +01:00
test-lookup-syms.cc Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00
test-read-dwarf.cc Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00
test-read-write.cc Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00
test-svg.cc Add svg generation. 2013-07-23 23:13:54 +02:00
test-utils.cc Update copyright years 2015-01-07 17:52:10 +01:00
test-utils.h Update copyright years 2015-01-07 17:52:10 +01:00
test-write-read-archive.cc Adjust archive-related code for the recent addition of tools_utils::* 2015-01-13 11:02:10 +01:00