libabigail/tests/data/test-read-write
Dodji Seketeli ace9af4568 Fix depth management during the parsing
* src/abg-ir.cc (decl_base_hash::operator()):  Don't hash the
	context for decls in general.
	* src/abg-reader.cc (read_context::push_decl_to_current_scope)
	(read_context::push_and_key_type_decl): Add an overload that takes
	a node and update_depth_info boolean.
	(build_var_decl, build_type_decl, build_qualified_type_decl)
	(build_pointer_type_def, build_reference_type_def)
	(build_enum_type_decl, build_type_decl)
	(build_template_type_parameter, build_template_non_type_parameter)
	(build_template_template_parameter, build_template_parameter)
	(build_type): Make these functions take an update_depth_info
	parameter.  Pass it do read_context::push_and_key_type_decl or
	read_context::push_decl_to_current_scope rather than call
	update_read_context.
	(build_function_decl, build_class_decl)
	(build_function_template_decl): Change the seen_by_reader
	parameter into update_depth_info.  Pass the update_depth_info bool
	to read_context::push_decl_to_current_scope rather than call
	update_depth_info here.
	(handle_class, handle_function_template_decl): Adjust.
	* tests/data/test-read-write/test12.xml: Add new test input.
	* tests/test-read-write.cc (InOutSpec in_out_specs): Add it to the
	list of input to de-serialize, serialize back and compare the two.
	* tests/Makefile.am: Add the new test input to the distribution.
2013-07-23 23:13:50 +02:00
..
test0.xml Support qualified types & Misc ancillary fixes 2013-03-27 23:59:16 +01:00
test1.xml Support qualified types & Misc ancillary fixes 2013-03-27 23:59:16 +01:00
test2.xml Support qualified types & Misc ancillary fixes 2013-03-27 23:59:16 +01:00
test3.xml Support qualified types & Misc ancillary fixes 2013-03-27 23:59:16 +01:00
test4.xml Support pointer types & Fix IR types equality 2013-03-28 15:42:12 +01:00
test5.xml Support reference types 2013-03-29 16:44:08 +01:00
test6.xml Update enum decl representation as per the schema 2013-07-23 23:13:49 +02:00
test7.xml Support typedef declarations 2013-03-30 21:59:19 +01:00
test8.xml Support var decl & mangled_name attributes 2013-04-02 16:51:59 +02:00
test9.xml Add tests/data/test-read-write/test9.xml 2013-07-23 23:13:49 +02:00
test10.xml Initial Support for class declarations 2013-07-23 23:13:49 +02:00
test11.xml Initial support for function templates 2013-07-23 23:13:50 +02:00
test12.xml Fix depth management during the parsing 2013-07-23 23:13:50 +02:00