cp-tree.h (struct lang_type_class): Make pure_virtuals a VEC(tree).
authorNathan Sidwell <nathan@gcc.gnu.org>
Thu, 16 Sep 2004 09:53:40 +0000 (09:53 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 16 Sep 2004 09:53:40 +0000 (09:53 +0000)
commit585b44d301a56eb7c2e40e840c6c9868f6b92d46
tree05f087296df6da2876dbac64a95198a03423740d
parent45f1796923b1b10a3bb13e79f4905cd7763d969a
cp-tree.h (struct lang_type_class): Make pure_virtuals a VEC(tree).

* cp-tree.h (struct lang_type_class): Make pure_virtuals a
VEC(tree).
(CLASSTYPE_INLINE_FRIENDS, CLASSTYPE_PURE_VIRTUALS): Update
comments.
* call.c (build_new_method_call): Don't confirm a pure virtual is
in CLASSTYPE_PURE_VIRTUALS.  Reorder checks. Make it a warning.
* class.c (check_methods): CLASSTYPE_INLINE_FRIENDS is a VEC(tree).
(fixup_inline_methods, finish_struct): Likewise.
* decl.c (finish_method): Likewise.
* search.c (dfs_get_pure_virtuals, get_pure_virtuals):
CLASSTYPE_PURE_VIRTUALS is a VEC(tree).
* typeck2.c (abstract_virtuals_error): Likewise. Truncate the
vector to avoid repeating the list in error messages.

From-SVN: r87592
gcc/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/search.c
gcc/cp/typeck2.c