aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-29 06:12:58 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-29 06:12:58 +0000
commit0430641bc242b40fc5fdafd534088ae7e8a49aba (patch)
tree6f76eb7c0f30b6a5abf2325910be9ba3f8f5ec38 /gcc
parentc62e45adc7391ee631b960b6a3dab85f36596461 (diff)
downloadgcc-0430641bc242b40fc5fdafd534088ae7e8a49aba.zip
gcc-0430641bc242b40fc5fdafd534088ae7e8a49aba.tar.gz
gcc-0430641bc242b40fc5fdafd534088ae7e8a49aba.tar.bz2
* tree.h (BINFO_BASETYPES): Improve documentation.
From-SVN: r31113
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.h9
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f434eda..e220843 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+1999-12-28 Mark Mitchell <mark@codesourcery.com>
+
+ * tree.h (BINFO_BASETYPES): Improve documentation.
+
1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (--enable-checking): Use a more portable `for'
diff --git a/gcc/tree.h b/gcc/tree.h
index 5eac860..893c891 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