Commit 0e714131 by Mark Mitchell Committed by Mark Mitchell

cplus-dem.c (demangle_template_value_parm): Use cplus_demangle, not internal_cplus_demangle.

	* cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
	not internal_cplus_demangle.

From-SVN: r23570
parent 2fb04465
1998-11-08 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
not internal_cplus_demangle.
Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* choose-temp.c: Don't include gansidecl.h.
......
......@@ -1436,7 +1436,12 @@ demangle_template_value_parm (work, mangled, s, tk)
char *p = xmalloc (symbol_len + 1), *q;
strncpy (p, *mangled, symbol_len);
p [symbol_len] = '\0';
q = internal_cplus_demangle (work, p);
/* We use cplus_demangle here, rather than
internal_cplus_demangle, because the name of the entity
mangled here does not make use of any of the squangling
or type-code information we have built up thus far; it is
mangled independently. */
q = cplus_demangle (p, work->options);
string_appendn (s, "&", 1);
/* FIXME: Pointer-to-member constants should get a
qualifying class name here. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment