* cp-tree.h (CLASSTYPE_DESTRUCTORS): Fix typo in comment.
commitb429d3ee1b1dc11f93cbcac2625e2054afd3be43
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Feb 2001 06:32:15 +0000 (14 06:32 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Feb 2001 06:32:15 +0000 (14 06:32 +0000)
treed96b4a0445eaddd41c2f31bdde78ca4bce589951
parentf78457c18e74ccf5683c88a96988e8ef276c42fc
* cp-tree.h (CLASSTYPE_DESTRUCTORS): Fix typo in comment.
* call.c (build_op_delete_call): Simplify to remove duplicate
code.
* class.c (clone_function_decl): Don't build the deleting variant
of a non-virtual destructor.
* decl.c (finish_destructor_body): Don't call delete if this is a
non-virtual destructor.
* init.c (build_delete): Explicitly call `operator delete' when
deleting an object with a non-virtual destructor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39659 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/init.c
gcc/testsuite/g++.old-deja/g++.oliva/delete1.C