* 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.
This commit is contained in:
Keith Seitz
2009-06-16 18:39:41 +00:00
parent a42616899b
commit 19ef5c713c
5 changed files with 20 additions and 117 deletions

View File

@@ -1202,8 +1202,6 @@ extern struct type *lookup_template_type (char *, struct type *,
extern int get_vptr_fieldno (struct type *, struct type **);
extern int get_destructor_fn_field (struct type *, int *, int *);
extern int get_discrete_bounds (struct type *, LONGEST *, LONGEST *);
extern int is_ancestor (struct type *, struct type *);