OSDN Git Service

* doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Aug 2002 15:50:10 +0000 (15:50 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Aug 2002 15:50:10 +0000 (15:50 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56050 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 1170712..88cfb93 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
+
+       * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
+
 2002-08-04  Chris Demetriou  <cgd@broadcom.com>
 
        * doc/invoke.texi: Remove duplicated paragraph describing
index 0e821e5..dc0cb57 100644 (file)
@@ -1771,6 +1771,7 @@ This macro returns the attributes on the type @var{type}.
 @tindex CLEANUP_POINT_EXPR
 @tindex ARRAY_REF
 @tindex VTABLE_REF
+@tindex VA_ARG_EXPR
 
 The internal representation for expressions is for the most part quite
 straightforward.  However, there are a few facts that one must bear in
@@ -2312,4 +2313,10 @@ The first operand is the expression that computes the vtable reference.
 The second operand is the @code{VAR_DECL} of the vtable.  The third
 operand is an @code{INTEGER_CST} of the byte offset into the vtable.
 
+@item VA_ARG_EXPR
+This node is used to implement support for the C/C++ variable argument-list
+mechanism.  It represents expressions like @code{va_arg (ap, type)}.
+Its @code{TREE_TYPE} yields the tree representation for @code{type} and
+its sole argument yields the representation for @code{ap}.
+
 @end table