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:
Doug Evans 2014-12-16 22:19:15 -08:00
parent a07e3e182d
commit 55accf4a1e
2 changed files with 18 additions and 13 deletions

View File

@ -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>
* cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from

View File

@ -371,7 +371,7 @@ reset_directive_searched (void *data)
only the import of Y is considered. */
static struct symbol *
cp_lookup_symbol_imports (const char *scope,
cp_lookup_symbol_via_imports (const char *scope,
const char *name,
const struct block *block,
const domain_enum domain,
@ -472,7 +472,7 @@ cp_lookup_symbol_imports (const char *scope,
/* If this import statement creates no alias, pass
current->inner as NAMESPACE to direct the search
towards the imported namespace. */
sym = cp_lookup_symbol_imports (current->import_src,
sym = cp_lookup_symbol_via_imports (current->import_src,
name, block,
domain, 0, 0);
}
@ -505,7 +505,7 @@ search_symbol_list (const char *name, int num,
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
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
@ -604,7 +604,7 @@ cp_lookup_symbol_namespace (const char *scope,
blocks. */
while (block != NULL)
{
sym = cp_lookup_symbol_imports (scope, name, block,
sym = cp_lookup_symbol_via_imports (scope, name, block,
domain, 0, 1);
if (sym)