libabigail/tests/data/test-abidiff
Dodji Seketeli ca133d551b Bug 20199 - Consider integral type synonyms as being equal
In this problem report, Abigail's type comparison engine considers
e.g, "unsigned short" and "short unsigned int" as being different
types because they have different name strings.  This is wrong.

This patch canonicalize the names of integral types, so that e.g,
"short unsigned", "unsigned short" and "unsigned short int" all have
the same name which would be "unsigned short int".

	* src/abg-ir.cc (class integral_type): New class declaration and
	definition.
	(operator|, operator&, operator&=): New non-member bitwise
	operators for integral_type.
	(parse_integral_type_modifier, parse_base_integral_type)
	(parse_integral_type_modifier): New static function definitions.
	(type_decl::type_decl): Use the parse_integral_type to parse an
	integral type out of the current type_decl being built and
	transform the current type name into a canonical form.
	* tests/data/test-abidiff/test-PR18791-v0.so.abi: Adjust.
	* tests/data/test-abidiff/test-PR18791-v1.so.abi: Likewise.
	* tests/data/test-diff-filter/test30-pr18904-rvalueref-report0.txt: Likewise.
	* tests/data/test-diff-filter/test30-pr18904-rvalueref-report1.txt: Likewise.
	* tests/data/test-diff-filter/test33-report-0.txt: Likewise.
	* tests/data/test-diff-filter/test34-report-0.txt: Likewise.
	* tests/data/test-diff-pkg/libICE-1.0.6-1.el6.x86_64.rpm--libICE-1.0.9-2.el7.x86_64.rpm-report-0.txt: Likewise.
	* tests/data/test-read-dwarf/test10-pr18818-gcc.so.abi: Likewise.
	* tests/data/test-read-dwarf/test11-pr18828.so.abi: Likewise.
	* tests/data/test-read-dwarf/test12-pr18844.so.abi: Likewise.
	* tests/data/test-read-dwarf/test13-pr18894.so.abi: Likewise.
	* tests/data/test-read-dwarf/test14-pr18893.so.abi: Likewise.
	* tests/data/test-read-dwarf/test15-pr18892.so.abi: Likewise.
	* tests/data/test-read-dwarf/test16-pr18904.so.abi: Likewise.
	* tests/data/test-read-dwarf/test17-pr19027.so.abi: Likewise.
	* tests/data/test-read-dwarf/test18-pr19037-libvtkRenderingLIC-6.1.so.abi: Likewise.
	* tests/data/test-read-dwarf/test19-pr19023-libtcmalloc_and_profiler.so.abi: Likewise.
	* tests/data/test-read-dwarf/test20-pr19025-libvtkParallelCore-6.1.so.abi: Likewise.
	* tests/data/test-read-dwarf/test21-pr19092.so.abi: Likewise.
	* tests/data/test-read-dwarf/test22-pr19097-libstdc++.so.6.0.17.so.abi: Likewise.
	* tests/data/test-read-dwarf/test9-pr18818-clang.so.abi: Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2016-07-13 23:37:43 +02:00
..
test-enum0-report.txt Adjust many reference output for the non-regression test suite 2015-08-29 16:23:16 +02:00
test-enum0-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-enum0-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-enum1-report.txt Adjust many reference output for the non-regression test suite 2015-08-29 16:23:16 +02:00
test-enum1-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-enum1-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-PR18166-libtirpc.so Fix "is-anonymous" abixml property impact on some tests 2015-10-15 13:50:48 +02:00
test-PR18166-libtirpc.so.abi Fix "is-anonymous" abixml property impact on some tests 2015-10-15 13:50:48 +02:00
test-PR18166-libtirpc.so.report.txt Fix "is-anonymous" abixml property impact on some tests 2015-10-15 13:50:48 +02:00
test-PR18791-report0.txt Bug 19638 - DWARF reader fails to link clone function to its declaration 2016-02-17 16:30:01 +01:00
test-PR18791-v0.so.abi Bug 20199 - Consider integral type synonyms as being equal 2016-07-13 23:37:43 +02:00
test-PR18791-v1.so.abi Bug 20199 - Consider integral type synonyms as being equal 2016-07-13 23:37:43 +02:00
test-qual-type0-report.txt Adjust many reference output for the non-regression test suite 2015-08-29 16:23:16 +02:00
test-qual-type0-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-qual-type0-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-struct0-report.txt Adjust many reference output for the non-regression test suite 2015-08-29 16:23:16 +02:00
test-struct0-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-struct0-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-struct1-report.txt Adjust some tests for output changes 2015-07-09 00:10:33 +02:00
test-struct1-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-struct1-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-var0-report.txt Misc reporting fixes/improvements 2015-04-14 06:16:00 +02:00
test-var0-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-var0-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00