mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 18:35:58 +08:00
decl.c (make_implicit_typename): Only change the type of a TYPENAME_TYPE.
* decl.c (make_implicit_typename): Only change the type of a TYPENAME_TYPE. From-SVN: r18668
This commit is contained in:
parent
ad32129310
commit
74ef3b26f3
@ -1,3 +1,8 @@
|
||||
Wed Mar 18 12:41:43 1998 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* decl.c (make_implicit_typename): Only change the type of a
|
||||
TYPENAME_TYPE.
|
||||
|
||||
Wed Mar 18 10:09:51 1998 Mark Mitchell <mmitchell@usa.net>
|
||||
|
||||
* semantics.c: New file, containing routines to perform the
|
||||
|
@ -4593,6 +4593,7 @@ make_implicit_typename (context, t)
|
||||
else
|
||||
retval = make_typename_type (context, DECL_NAME (t));
|
||||
|
||||
if (TREE_CODE (retval) == TYPENAME_TYPE)
|
||||
TREE_TYPE (retval) = TREE_TYPE (t);
|
||||
return retval;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user