2003-06-12 David Carlton <carlton@kealia.com>

* cp-namespace.c (cp_set_block_scope): Comment out
	processing_has_namespace_info branch.
This commit is contained in:
David Carlton 2003-06-13 00:55:43 +00:00
parent f470a70ae3
commit 0fc9922abc
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-12 David Carlton <carlton@kealia.com>
* cp-namespace.c (cp_set_block_scope): Comment out
processing_has_namespace_info branch.
2003-06-12 Jim Blandy <jimb@redhat.com> 2003-06-12 Jim Blandy <jimb@redhat.com>
Recognize and skip 64-bit PowerPC Linux linkage functions. Recognize and skip 64-bit PowerPC Linux linkage functions.

View File

@ -38,6 +38,9 @@ unsigned char processing_has_namespace_info;
contain the name of the current namespace. The string is contain the name of the current namespace. The string is
temporary; copy it if you need it. */ temporary; copy it if you need it. */
/* FIXME: carlton/2003-06-12: This isn't entirely reliable: currently,
we get mislead by DW_AT_specification. */
const char *processing_current_namespace; const char *processing_current_namespace;
/* List of using directives that are active in the current file. */ /* List of using directives that are active in the current file. */
@ -187,6 +190,12 @@ cp_set_block_scope (const struct symbol *symbol,
if (SYMBOL_CPLUS_DEMANGLED_NAME (symbol) != NULL) if (SYMBOL_CPLUS_DEMANGLED_NAME (symbol) != NULL)
{ {
#if 0
/* FIXME: carlton/2003-06-12: As mentioned above,
'processing_has_namespace_info' currently isn't entirely
reliable, so let's always use demangled names to get this
information for now. */
if (processing_has_namespace_info) if (processing_has_namespace_info)
{ {
block_set_scope block_set_scope
@ -196,6 +205,7 @@ cp_set_block_scope (const struct symbol *symbol,
obstack); obstack);
} }
else else
#endif
{ {
/* Try to figure out the appropriate namespace from the /* Try to figure out the appropriate namespace from the
demangled name. */ demangled name. */