]> sourceware.org Git - libabigail.git/commit
Bug 18904 - Fix support for C++ rvalue references
authorDodji Seketeli <dodji@redhat.com>
Wed, 2 Sep 2015 12:28:41 +0000 (14:28 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 2 Sep 2015 12:42:16 +0000 (14:42 +0200)
commit49759d3be813144feb71bab93dfa54effb0cda88
tree18ca318ab03a22d1f84ff4313904e722acda0ee4
parent3b6bada297f2127d03942a15131c10fbc753dc4e
Bug 18904 - Fix support for C++ rvalue references

* src/abg-comparison.cc (reference_diff::has_changes): Just
compare the references, rather than assuming that the change can
only be on underlying types.
(reference_diff::report): Describe lvalue/rvalue changes for
references.
* src/abg-ir.cc (reference_type_def::reference_type_def): Properly
set the name for an rvalue reference.
(equals): For references, compare lvalue-ness too.
(reference_type_def::get_qualified_name): Properly set rvalue
reference names.
* tests/data/test-diff-filter/test30-pr18904-rvalueref-liba.so:
New test input.
* tests/data/test-diff-filter/test30-pr18904-rvalueref-libb.so:
New test input.
* tests/data/test-diff-filter/test30-pr18904-rvalueref-report0.txt:
New test reference output.
* tests/data/Makefile.am: Add the new files to source
distribution.
* tests/test-diff-filter.cc (in_out_specs): Run the new tests.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-comparison.cc
src/abg-ir.cc
tests/data/Makefile.am
tests/data/test-diff-filter/test30-pr18904-rvalueref-liba.so [new file with mode: 0755]
tests/data/test-diff-filter/test30-pr18904-rvalueref-libb.so [new file with mode: 0755]
tests/data/test-diff-filter/test30-pr18904-rvalueref-report0.txt [new file with mode: 0644]
tests/test-diff-filter.cc
This page took 0.034186 seconds and 5 git commands to generate.