OSDN Git Service

* cp-tree.h (add_method): Change prototype.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)
commiteb0eaa847f44536e9f7d474daf1cdba965c348a8
treedd32bc545603afee2ec2a4f3daf8ad5ab3742f0e
parenta3b9fc2f4a650f47b0b19244330e326e32056f64
* cp-tree.h (add_method): Change prototype.
* class.c (add_method): Remove FIELDS parameter.  Add ERROR_P.
Don't double the size of the method vector in the error case.
(handle_using_decl): Adjust call to add_method.
(add_implicitly_declared_members): Likewise.
(clone_function_decl): Likewise.
* decl2.c (check_classfn): Likewise.
* semantics.c (finish_member_declaration): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35490 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.other/crash21.C [new file with mode: 0644]