aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaute B Strokkenes <gs234@cam.ac.uk>2002-02-19 22:51:17 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2002-02-19 22:51:17 +0000
commit293c28eedb85fae6a8f7fd726b6c94553772b121 (patch)
tree6e83fd3b2f49cd8e7674be9a8cbe63d8511409d6
parent0cb6c58daa37658ed4f21f222ae254e00de8c742 (diff)
downloadgcc-293c28eedb85fae6a8f7fd726b6c94553772b121.zip
gcc-293c28eedb85fae6a8f7fd726b6c94553772b121.tar.gz
gcc-293c28eedb85fae6a8f7fd726b6c94553772b121.tar.bz2
* doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
From-SVN: r49881
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/c-tree.texi4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 100b36b..2230021 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
+
+ * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
+
2002-02-19 Philip Blundell <pb@nexus.co.uk>
PR 5399
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index 849d079..afe18e5 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -760,8 +760,8 @@ binfo is given by @code{BINFO_TYPE}. It is always the case that
qualifiers. However, it is not always the case that @code{TYPE_BINFO
(BINFO_TYPE (y))} is always the same binfo as @code{y}. The reason is
that if @code{y} is a binfo representing a base-class @code{B} of a
-derived class @code{D}, then @code{BINFO_TYPE (y)} will be @code{B}, and
-@code{TYPE_INFO (BINFO_TYPE (y))} will be @code{B} as its own
+derived class @code{D}, then @code{BINFO_TYPE (y)} will be @code{B},
+and @code{TYPE_BINFO (BINFO_TYPE (y))} will be @code{B} as its own
base-class, rather than as a base-class of @code{D}.
The @code{BINFO_BASETYPES} is a @code{TREE_VEC} (@pxref{Containers}).