OSDN Git Service

* doc/c-tree.texi (OFFSET_TYPE): Update description.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jul 2003 23:44:45 +0000 (23:44 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jul 2003 23:44:45 +0000 (23:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69729 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/c-tree.texi

index 2439b1d..45edff2 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-23  Mark Mitchell  <mark@codesourcery.com>
+
+       * doc/c-tree.texi (OFFSET_TYPE): Update description.
+
 2003-07-23  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
@@ -11,6 +15,8 @@
 
 2003-07-23  Mark Mitchell  <mark@codesourcery.com>
 
+       * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
+
        PR optimization/10679
        * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
 
index 48e7e12..2ea8bcf 100644 (file)
@@ -555,11 +555,9 @@ This node is used to represent a type the knowledge of which is
 insufficient for a sound processing.
 
 @item OFFSET_TYPE
-This node is used to represent a data member; for example a
-pointer-to-data-member is represented by a @code{POINTER_TYPE} whose
-@code{TREE_TYPE} is an @code{OFFSET_TYPE}.  For a data member @code{X::m}
-the @code{TYPE_OFFSET_BASETYPE} is @code{X} and the @code{TREE_TYPE} is
-the type of @code{m}.
+This node is used to represent a pointer-to-data member.  For a data
+member @code{X::m} the @code{TYPE_OFFSET_BASETYPE} is @code{X} and the
+@code{TREE_TYPE} is the type of @code{m}.
 
 @item TYPENAME_TYPE
 Used to represent a construct of the form @code{typename T::A}.  The