diff options
author | Gabriel Dos Reis <gdr@nerim.net> | 2002-08-05 15:50:10 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2002-08-05 15:50:10 +0000 |
commit | fd29139244eba64d82024909ca30a88e9ab91ea3 (patch) | |
tree | 8f6b4a4295a78b433012eef4f3680601c552e876 /gcc | |
parent | 4c6f7cf15c742b46c9375424f1d9ad7589818ad0 (diff) | |
download | gcc-fd29139244eba64d82024909ca30a88e9ab91ea3.zip gcc-fd29139244eba64d82024909ca30a88e9ab91ea3.tar.gz gcc-fd29139244eba64d82024909ca30a88e9ab91ea3.tar.bz2 |
* doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
From-SVN: r56050
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/c-tree.texi | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1170712..88cfb93 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi index 0e821e5..dc0cb57 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 |