]> sourceware.org Git - libabigail.git/commit
Do not forget to peel qualified type off when peeling types
authorDodji Seketeli <dodji@redhat.com>
Sun, 6 Dec 2015 16:29:50 +0000 (17:29 +0100)
committerDodji Seketeli <dodji@redhat.com>
Sun, 6 Dec 2015 16:29:50 +0000 (17:29 +0100)
commit1bee40c075f06e4e2eaf97ab03b435007bc320d9
treec3b6c2b1e3bed9e6a233c17d8df365707b04f0e1
parent584562bae8a991e25e11ccd37163c1f9d6b6e398
Do not forget to peel qualified type off when peeling types

When peeling off typedefs, references and pointers to see if a type is
made of a class type, we forget to peel qualified types off.

This is in the context of parsing type info from DWARF and to
determine if we should delay type canonicalization (because a given
type is made of a class) or not.

Fixed thus.

* include/abg-fwd.h (peel_qualified_type): Declare new function
...
* src/abg-ir.cc (peel_qualified_type): ... and define it.
(peel_typedef_pointer_or_reference_type): Peel qualified types
here too.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
include/abg-fwd.h
src/abg-ir.cc
This page took 0.033894 seconds and 5 git commands to generate.