cp_lookup_symbol_via_imports: Renamed from cp_lookup_symbol_imports.
gdb/ChangeLog: * cp-namespace.c (cp_lookup_symbol_via_imports): Renamed from cp_lookup_symbol_imports. All callers updated.
This commit is contained in:
parent
a07e3e182d
commit
55accf4a1e
|
@ -1,3 +1,8 @@
|
||||||
|
2014-12-16 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
|
* cp-namespace.c (cp_lookup_symbol_via_imports): Renamed from
|
||||||
|
cp_lookup_symbol_imports. All callers updated.
|
||||||
|
|
||||||
2014-12-16 Doug Evans <xdje42@gmail.com>
|
2014-12-16 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from
|
* cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from
|
||||||
|
|
|
@ -371,7 +371,7 @@ reset_directive_searched (void *data)
|
||||||
only the import of Y is considered. */
|
only the import of Y is considered. */
|
||||||
|
|
||||||
static struct symbol *
|
static struct symbol *
|
||||||
cp_lookup_symbol_imports (const char *scope,
|
cp_lookup_symbol_via_imports (const char *scope,
|
||||||
const char *name,
|
const char *name,
|
||||||
const struct block *block,
|
const struct block *block,
|
||||||
const domain_enum domain,
|
const domain_enum domain,
|
||||||
|
@ -472,7 +472,7 @@ cp_lookup_symbol_imports (const char *scope,
|
||||||
/* If this import statement creates no alias, pass
|
/* If this import statement creates no alias, pass
|
||||||
current->inner as NAMESPACE to direct the search
|
current->inner as NAMESPACE to direct the search
|
||||||
towards the imported namespace. */
|
towards the imported namespace. */
|
||||||
sym = cp_lookup_symbol_imports (current->import_src,
|
sym = cp_lookup_symbol_via_imports (current->import_src,
|
||||||
name, block,
|
name, block,
|
||||||
domain, 0, 0);
|
domain, 0, 0);
|
||||||
}
|
}
|
||||||
|
@ -505,7 +505,7 @@ search_symbol_list (const char *name, int num,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Like cp_lookup_symbol_imports, but if BLOCK is a function, it
|
/* Like cp_lookup_symbol_via_imports, but if BLOCK is a function, it
|
||||||
searches through the template parameters of the function and the
|
searches through the template parameters of the function and the
|
||||||
function's type. */
|
function's type. */
|
||||||
|
|
||||||
|
@ -578,7 +578,7 @@ cp_lookup_symbol_imports_or_template (const char *scope,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return cp_lookup_symbol_imports (scope, name, block, domain, 1, 1);
|
return cp_lookup_symbol_via_imports (scope, name, block, domain, 1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Searches for NAME in the current namespace, and by applying
|
/* Searches for NAME in the current namespace, and by applying
|
||||||
|
@ -604,7 +604,7 @@ cp_lookup_symbol_namespace (const char *scope,
|
||||||
blocks. */
|
blocks. */
|
||||||
while (block != NULL)
|
while (block != NULL)
|
||||||
{
|
{
|
||||||
sym = cp_lookup_symbol_imports (scope, name, block,
|
sym = cp_lookup_symbol_via_imports (scope, name, block,
|
||||||
domain, 0, 1);
|
domain, 0, 1);
|
||||||
|
|
||||||
if (sym)
|
if (sym)
|
||||||
|
|
Loading…
Reference in New Issue