* linespec.c (collect_methods): Delete.
authorKeith Seitz <keiths@redhat.com>
Tue, 16 Jun 2009 18:39:41 +0000 (18:39 +0000)
committerKeith Seitz <keiths@redhat.com>
Tue, 16 Jun 2009 18:39:41 +0000 (18:39 +0000)
commit19ef5c713c0116f2e15fea28168614d7894b613a
treecf913c08263d2b8aa2a3389dc7f9c2220f70389d
parenta42616899b4f89a1bc1177c8edb27e890af40a82
* linespec.c (collect_methods): Delete.
(add_matching_methods): Reove destructor special case.
(find_method): Call find_methods directly instead of
collect_methods.
* valops.c (value_struct_elt): Remove destructor
special cases.
(check_field): Likewise.
(value_struct_elt_for_reference): Likewise.
(destructor_name_p): Remove misleading comment about dtors
being "special cases".
* gdbtypes.h (get_destructor_fn_field): Remove. No longer needed.
* gdbtypes.c (get_destructor_fn_field): Likewise.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/linespec.c
gdb/valops.c