Commit 97e7cbe4 by Jason Merrill Committed by Jason Merrill

* decl2.c (constructor_name_full): Handle TYPENAME_TYPE.

From-SVN: r18814
parent fe0714d3
Wed Mar 25 02:01:02 1998 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (constructor_name_full): Handle TYPENAME_TYPE.
Tue Mar 24 16:12:01 1998 Mark Mitchell <mmitchell@usa.net>
* tree.c (mapcar): When dealing with a DECL, use it's constant
......
......@@ -1958,7 +1958,8 @@ constructor_name_full (thing)
tree thing;
{
if (TREE_CODE (thing) == TEMPLATE_TYPE_PARM
|| TREE_CODE (thing) == TEMPLATE_TEMPLATE_PARM)
|| TREE_CODE (thing) == TEMPLATE_TEMPLATE_PARM
|| TREE_CODE (thing) == TYPENAME_TYPE)
thing = TYPE_NAME (thing);
else if (IS_AGGR_TYPE_CODE (TREE_CODE (thing)))
{
......
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