libabigail/tests
Dodji Seketeli 170885cfcc Support enum type declarations
* src/abg-ir.h (class enum_type_decl, struct enum_type_decl_hash):
	New declarations.
	* src/abg-ir.cc (dynamic_type_hash::operator()): Add hashing
	support for enum_type_decl.
	(enum_type_decl::enum_type_decl)
	(enum_type_decl::get_underlying_type)
	(enum_type_decl::get_enumerators, enum_type_decl::~enum_type_decl)
	(enum_type_decl::operator==): New definitions.
	* src/abg-reader.cc (handle_enum_type_decl): New definition.
	(handle_element): Handle "enum-decl" element.
	* src/abg-writer.cc (write_enum_type_decl): New.
	(write_decl): Add support to serialize enum_type_decl.
	* tests/test-read-write.cc: De-serialize and serialize
	data/test-read-write/test6.xml back.
	* tests/data/test-read-write/test6.xml: New test input.
	* tests/Makefile.am: Add it to the distribution.
2013-03-30 19:33:05 +01:00
..
data/test-read-write Support enum type declarations 2013-03-30 19:33:05 +01:00
Makefile.am Support enum type declarations 2013-03-30 19:33:05 +01:00
test-read-write.cc Support enum type declarations 2013-03-30 19:33:05 +01:00
test-utils.cc Debug type-decl serialization 2013-03-22 16:53:26 +01:00
test-utils.h Debug type-decl serialization 2013-03-22 16:53:26 +01:00