libabigail/src
Dodji Seketeli 6e590b2a45 Initial un-debugged implementation of scope diffing
* 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>
2013-11-19 11:22:45 +01:00
..
abg-comparison.cc Initial un-debugged implementation of scope diffing 2013-11-19 11:22:45 +01:00
abg-config.cc Misc white space cleanups 2013-08-27 16:20:40 +02:00
abg-corpus.cc Define translation_unit{_sptr,s} types in abigail:: 2013-08-29 16:45:55 +02:00
abg-diff-utils.cc Simplify & cleanup compute_diff core api 2013-11-19 11:22:05 +01:00
abg-hash.cc Misc white space, style and comment fixes 2013-11-19 11:20:28 +01:00
abg-ir.cc Initial un-debugged implementation of scope diffing 2013-11-19 11:22:45 +01:00
abg-libxml-utils.cc Initial writing/reading of an ABI corpus to an archive 2013-08-27 16:20:41 +02:00
abg-libzip-utils.cc Initial writing/reading of an ABI corpus to an archive 2013-08-27 16:20:41 +02:00
abg-reader.cc Initial writing/reading of an ABI corpus to an archive 2013-08-27 16:20:41 +02:00
abg-traverse.cc Prepare node visitors to be usable on things other than IR nodes 2013-11-19 11:19:12 +01:00
abg-viz-common.cc LGPLv3 License the library 2013-07-23 23:13:55 +02:00
abg-viz-dot.cc Move static member definition to abg-viz-dot.cc file 2013-07-23 23:13:56 +02:00
abg-viz-svg.cc LGPLv3 License the library 2013-07-23 23:13:55 +02:00
abg-writer.cc Add error message to translation_unit::write 2013-08-29 16:36:17 +02:00
Makefile.am Lay down the foundations of computing the diff between two class_decl 2013-11-19 11:19:21 +01:00