OSDN Git Service

* cp-tree.h (struct lang_type_class): Make pure_virtuals a
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 2004 09:53:40 +0000 (09:53 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 2004 09:53:40 +0000 (09:53 +0000)
commit03106e7d8b8a71634ead1053bf65ab8f881975bc
tree05f087296df6da2876dbac64a95198a03423740d
parente5333be771b8f89597e2cca8d78cc2c3cf3312a6
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87592 138bc75d-0d04-0410-961f-82ee72b054a4
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