cp-tree.h (finish_enum): Change prototype.
authorMark Mitchell <mark@markmitchell.com>
Wed, 26 Aug 1998 13:55:47 +0000 (13:55 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 26 Aug 1998 13:55:47 +0000 (13:55 +0000)
commitdbfe21241f2cd4a39b35ef393710166ad3c4b42b
treea402af812796414725c2ac344772fbca8a82f397
parentc0a483c70ac5593f35658f8f6ed541b45f027dab
cp-tree.h (finish_enum): Change prototype.

* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Use TYPE_VALUES, rather than taking a
VALUES parameter.  Don't try to compute mins/maxs if
processing_template_decl.
* parse.y (structsp): Use new calling sequence for finish_enum.
* pt.c (tsubst_enum): Likewise.  Take the new type as input.
(lookup_template_class): Remove unused variables.  Tweak.
Register enums on instantiation list before substituting
enumeration constants.
(tsubst_decl): Remove unused variables.
(regenerate_decl_from_template): Likewise.
* decl.c (duplicate_decls): Don't obliterate the
DECL_TEMPLATE_INFO for a template if we're not replacing it with
anything.

From-SVN: r22004
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/parse.y
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.pt/enum8.C [new file with mode: 0644]