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
|
@ -1,3 +1,8 @@
|
||||||
|
2014-12-16 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
|
* cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from
|
||||||
|
find_type_baseclass_by_name. All callers updated.
|
||||||
|
|
||||||
2014-12-16 Doug Evans <xdje42@gmail.com>
|
2014-12-16 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* symtab.h (struct symbol_search) <symtab>: Delete. All uses updated.
|
* symtab.h (struct symbol_search) <symtab>: Delete. All uses updated.
|
||||||
|
|
|
@ -3019,7 +3019,7 @@ classify_inner_name (struct parser_state *par_state,
|
||||||
relative to the `this' pointer. */
|
relative to the `this' pointer. */
|
||||||
if (yylval.ssym.sym == NULL)
|
if (yylval.ssym.sym == NULL)
|
||||||
{
|
{
|
||||||
struct type *base_type = find_type_baseclass_by_name (type, copy);
|
struct type *base_type = cp_find_type_baseclass_by_name (type, copy);
|
||||||
|
|
||||||
if (base_type != NULL)
|
if (base_type != NULL)
|
||||||
{
|
{
|
||||||
|
@ -3038,7 +3038,7 @@ classify_inner_name (struct parser_state *par_state,
|
||||||
named COPY when we really wanted a base class of the same name.
|
named COPY when we really wanted a base class of the same name.
|
||||||
Double-check this case by looking for a base class. */
|
Double-check this case by looking for a base class. */
|
||||||
{
|
{
|
||||||
struct type *base_type = find_type_baseclass_by_name (type, copy);
|
struct type *base_type = cp_find_type_baseclass_by_name (type, copy);
|
||||||
|
|
||||||
if (base_type != NULL)
|
if (base_type != NULL)
|
||||||
{
|
{
|
||||||
|
|
|
@ -697,7 +697,7 @@ cp_lookup_symbol_nonlocal (const char *name,
|
||||||
named NAME and return its type. If not found, return NULL. */
|
named NAME and return its type. If not found, return NULL. */
|
||||||
|
|
||||||
struct type *
|
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;
|
int i;
|
||||||
|
|
||||||
|
@ -713,7 +713,7 @@ find_type_baseclass_by_name (struct type *parent_type, const char *name)
|
||||||
if (streq (base_name, name))
|
if (streq (base_name, name))
|
||||||
return type;
|
return type;
|
||||||
|
|
||||||
type = find_type_baseclass_by_name (type, name);
|
type = cp_find_type_baseclass_by_name (type, name);
|
||||||
if (type != NULL)
|
if (type != NULL)
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
|
@ -215,8 +215,8 @@ struct type *cp_lookup_transparent_type (const char *name);
|
||||||
|
|
||||||
/* See description in cp-namespace.c. */
|
/* See description in cp-namespace.c. */
|
||||||
|
|
||||||
struct type *find_type_baseclass_by_name (struct type *parent_type,
|
struct type *cp_find_type_baseclass_by_name (struct type *parent_type,
|
||||||
const char *name);
|
const char *name);
|
||||||
|
|
||||||
/* Functions from cp-name-parser.y. */
|
/* Functions from cp-name-parser.y. */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue