diff options
| author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-05 15:50:10 +0000 |
|---|---|---|
| committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-05 15:50:10 +0000 |
| commit | 694b58ff85331452c03265ceba30e14e014a0c42 (patch) | |
| tree | 8f6b4a4295a78b433012eef4f3680601c552e876 | |
| parent | ab1b8429f8a6452af34a2a5064933325727ed60c (diff) | |
| download | ppe42-gcc-694b58ff85331452c03265ceba30e14e014a0c42.tar.gz ppe42-gcc-694b58ff85331452c03265ceba30e14e014a0c42.zip | |
* doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56050 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 117071277b8..88cfb9394c3 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 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 |

