* cp-tree.h (finish_enum): Change prototype.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Aug 1998 13:55:47 +0000 (13:55 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Aug 1998 13:55:47 +0000 (13:55 +0000)
commitd91e38321c9a66c96b90956b077e84e03a4d3822
treea402af812796414725c2ac344772fbca8a82f397
parentaed6ae85bf1a8004fa53a557d9514b1e9ecef928
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22004 138bc75d-0d04-0410-961f-82ee72b054a4
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]