mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
cp-namespace.c (cp_lookup_nested_symbol): Fix comments.
gdb/ChangeLog: * cp-namespace.c (cp_lookup_nested_symbol): Fix comments.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2014-12-11 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* cp-namespace.c (cp_lookup_nested_symbol): Fix comments.
|
||||
|
||||
2014-12-11 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* symtab.c (lookup_symbol_in_objfile_symtabs): Delete forward decl.
|
||||
|
@ -785,14 +785,14 @@ find_symbol_in_baseclass (struct type *parent_type, const char *name,
|
||||
|
||||
/* Look up a symbol named NESTED_NAME that is nested inside the C++
|
||||
class or namespace given by PARENT_TYPE, from within the context
|
||||
given by BLOCK. Return NULL if there is no such nested type. */
|
||||
given by BLOCK. Return NULL if there is no such nested symbol. */
|
||||
|
||||
struct symbol *
|
||||
cp_lookup_nested_symbol (struct type *parent_type,
|
||||
const char *nested_name,
|
||||
const struct block *block)
|
||||
{
|
||||
/* type_name_no_tag_required provides better error reporting using the
|
||||
/* type_name_no_tag_or_error provides better error reporting using the
|
||||
original type. */
|
||||
struct type *saved_parent_type = parent_type;
|
||||
|
||||
|
Reference in New Issue
Block a user