OSDN Git Service

* cp-tree.h (DECL_DESTRUCTOR_P): New macro.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 May 1998 02:33:54 +0000 (02:33 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 May 1998 02:33:54 +0000 (02:33 +0000)
commite46cb6639b7e7c3b80ba0e21683a6591fe462354
tree25e2c12ee0d8b3ffa267282b86a0afbbe7af373e
parent2d9da7e153115324b70e529abf5bd4e9f18cc8c3
* cp-tree.h (DECL_DESTRUCTOR_P): New macro.
* method.c (build_destructor_name): New fn.
* decl2.c (maybe_retrofit_in_chrg): Split out...
(grokclassfn): From here.  Reorganize.
* decl.c (grok_ctor_properties): Make sure ctors for types with
vbases have the in_chrg parm.
* pt.c (instantiate_class_template): Update
TYPE_USES_VIRTUAL_BASECLASSES from tsubsted bases.  Don't call
grok_*_properties.
(tsubst): Call grok_ctor_properties and maybe_retrofit_in_chrg.
* pt.c (instantiate_decl): Make test for whether or not static
variables should be instantiated early match its comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20136 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/method.c
gcc/cp/pt.c