cp_find_type_baseclass_by_name: Renamed from find_type_baseclass_by_name.
gdb/ChangeLog: * cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from find_type_baseclass_by_name. All callers updated.
This commit is contained in:
parent
d01060f023
commit
a07e3e182d
4 changed files with 11 additions and 6 deletions
|
@ -697,7 +697,7 @@ cp_lookup_symbol_nonlocal (const char *name,
|
|||
named NAME and return its type. If not found, return NULL. */
|
||||
|
||||
struct type *
|
||||
find_type_baseclass_by_name (struct type *parent_type, const char *name)
|
||||
cp_find_type_baseclass_by_name (struct type *parent_type, const char *name)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -713,7 +713,7 @@ find_type_baseclass_by_name (struct type *parent_type, const char *name)
|
|||
if (streq (base_name, name))
|
||||
return type;
|
||||
|
||||
type = find_type_baseclass_by_name (type, name);
|
||||
type = cp_find_type_baseclass_by_name (type, name);
|
||||
if (type != NULL)
|
||||
return type;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue