From 0430641bc242b40fc5fdafd534088ae7e8a49aba Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 29 Dec 1999 06:12:58 +0000 Subject: [PATCH] * tree.h (BINFO_BASETYPES): Improve documentation. From-SVN: r31113 --- gcc/ChangeLog | 4 ++++ gcc/tree.h | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f434edab7c4..e220843d3fa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +1999-12-28 Mark Mitchell + + * tree.h (BINFO_BASETYPES): Improve documentation. + 1999-12-28 Kaveh R. Ghazi * configure.in (--enable-checking): Use a more portable `for' diff --git a/gcc/tree.h b/gcc/tree.h index 5eac860d965..893c8916a29 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -1004,11 +1004,12 @@ struct tree_type #define BINFO_VIRTUALS(NODE) TREE_VEC_ELT ((NODE), 3) #define TYPE_BINFO_VIRTUALS(NODE) BINFO_VIRTUALS (TYPE_BINFO (NODE)) -/* A vector of additional binfos for the types inherited by this basetype. +/* A vector of binfos for the direct basetypes inherited by this + basetype. - If this basetype describes type D as inherited in C, - and if the basetypes of D are E anf F, - then this vector contains binfos for inheritance of E and F by C. + If this basetype describes type D as inherited in C, and if the + basetypes of D are E and F, then this vector contains binfos for + inheritance of E and F by C. ??? This could probably be done by just allocating the base types at the end of this TREE_VEC (instead of using