From fd29139244eba64d82024909ca30a88e9ab91ea3 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Mon, 5 Aug 2002 15:50:10 +0000 Subject: [PATCH] * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR From-SVN: r56050 --- gcc/ChangeLog | 4 ++++ gcc/doc/c-tree.texi | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 117071277b8..88cfb9394c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-05 Gabriel Dos Reis + + * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR + 2002-08-04 Chris Demetriou * doc/invoke.texi: Remove duplicated paragraph describing diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi index 0e821e50974..dc0cb575aef 100644 --- a/gcc/doc/c-tree.texi +++ b/gcc/doc/c-tree.texi @@ -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 -- 2.30.2