mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 03:24:41 +08:00
* decl2.c (constructor_name_full): Handle TYPENAME_TYPE.
From-SVN: r18814
This commit is contained in:
parent
fe0714d3f3
commit
97e7cbe4fb
@ -1,3 +1,7 @@
|
||||
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)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user