libabigail/include
Dodji Seketeli 435f1520d7 Make type_base::get_{size,alignment}_in_bits virtual
* include/abg-ir.h (type_base::get_{size,alignment}_in_bits): Make
	this virtual.
	(typedef_decl::get_{size,alignment}_in_bits): Add new member
	functions.  Get the size,alignment from the underlying type and
	update the current size/alignment if they differ.  Keep in mind
	that the size of an underlying class_decl can change over its
	lifetime, given how the dwarf reader reads the type information,
	i.e, there can be a DIE for a class type with no size information
	that will lead to the creation of a class_decl with size zero.
	Later during the DWARF reading process, another DIE will
	supplement the type information, adding size information to that
	class_decl.  In between, a typedef_decl might have been created
	with the first version of the class_decl that has a zero size.  I
	guess this should be extended to the other type constructs that
	have an underlying type (qualified types, references and pointers).

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-04-07 10:08:10 +02:00
..
abg-comp-filter.h Initial implementation of diff tree node filtering 2014-03-27 13:01:18 +01:00
abg-comparison.h Add a new DECL_NAME_CHANGE_CATEGORY change category 2014-04-06 15:59:38 +02:00
abg-config.h Doxygen markup fixes final. 2013-08-14 15:07:18 +02:00
abg-corpus.h Add --drop/--keep options to bidiff 2014-02-28 17:59:39 +01:00
abg-diff-utils.h Add missing headers double inclusion guards 2014-03-27 13:01:18 +01:00
abg-dwarf-reader.h Misc Doxygen API doc fixes 2014-01-17 15:44:25 +01:00
abg-fwd.h Look through typedefs when setting SIZE_OR_OFFSET_CHANGE_CATEGORY 2014-04-07 09:54:52 +02:00
abg-hash.h Misc style fixes 2014-02-10 15:51:10 +01:00
abg-ir.h Make type_base::get_{size,alignment}_in_bits virtual 2014-04-07 10:08:10 +02:00
abg-libxml-utils.h Add --drop/--keep options to bidiff 2014-02-28 17:59:39 +01:00
abg-libzip-utils.h Initial writing/reading of an ABI corpus to an archive 2013-08-27 16:20:41 +02:00
abg-reader.h Misc Doxygen API doc fixes 2014-01-17 15:44:25 +01:00
abg-sptr-utils.h Add --drop/--keep options to bidiff 2014-02-28 17:59:39 +01:00
abg-traverse.h Make tree walking preemptive 2014-03-27 13:01:17 +01:00
abg-version.h.in Collapse subdir of include to include. 2013-08-14 15:07:18 +02:00
abg-viz-common.h Forward decls for abg-ir.h, doxygen fixups, restyle. 2013-08-14 15:07:18 +02:00
abg-viz-dot.h Forward decls for abg-ir.h, doxygen fixups, restyle. 2013-08-14 15:07:18 +02:00
abg-viz-svg.h Forward decls for abg-ir.h, doxygen fixups, restyle. 2013-08-14 15:07:18 +02:00
abg-writer.h Misc Doxygen API doc fixes 2014-01-17 15:44:25 +01:00
Makefile.am Initial implementation of diff tree node filtering 2014-03-27 13:01:18 +01:00