cp-tree.h (add_method): Change prototype.
authorMark Mitchell <mark@codesourcery.com>
Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)
commit452a394bc37bc65c043097d18efc8c95a3876615
treedd32bc545603afee2ec2a4f3daf8ad5ab3742f0e
parentca2eed217f7de558a5fa3feccfad9ed73e13da1f
cp-tree.h (add_method): Change prototype.

* 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.

From-SVN: r35490
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]