]> sourceware.org Git - libabigail.git/commit
Make get_pretty_representation work on method types
authorDodji Seketeli <dodji@redhat.com>
Fri, 21 Aug 2015 10:09:22 +0000 (12:09 +0200)
committerDodji Seketeli <dodji@redhat.com>
Fri, 21 Aug 2015 10:43:37 +0000 (12:43 +0200)
commit45be4d7fdd3b51344d42961c57cb1b30dfda9fdb
treebbe5634761c66974af3d913f87e8010238d25d3f
parentddb17eddbae4a151fc40bac8cb5c56313b437a97
Make get_pretty_representation work on method types

Until now, get_pretty_representation() considered method types just as
function types.  This patch makes it know about them specifically.  This
useful for debugging, at least.

* include/abg-fwd.h (is_method_type): Declare new overloads for
naked pointers.
(get_method_type_name): Declare new functions.
(get_pretty_representation): Declare new overloads for
method_type.
* src/abg-ir.cc (get_function_type_name): If the function type is
a method type, handle it as such.
(get_method_type_name): Define new functions.
(get_pretty_representation): If the function type is a method
type, handle it as such.
(get_pretty_representation): Define new overloads for method_type
and pointer/reference to method_type.
(is_method_type): Add overloads for naked pointers.

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