diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2005-12-05 22:21:29 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2005-12-05 22:21:29 +0000 |
commit | 0499d0accb35c84c32ab94cf0f896dc1519e2b08 (patch) | |
tree | 69c5fb1999d2a8b23def4cfd8d5af93e794d26a4 /gcc/doc | |
parent | a3f9ee63161fa97751af49398bdccd6fc7d17dec (diff) | |
download | gcc-0499d0accb35c84c32ab94cf0f896dc1519e2b08.zip gcc-0499d0accb35c84c32ab94cf0f896dc1519e2b08.tar.gz gcc-0499d0accb35c84c32ab94cf0f896dc1519e2b08.tar.bz2 |
c-tree.texi (Function Bodies): Remove description of RETURN_INIT.
* doc/c-tree.texi (Function Bodies): Remove description of
RETURN_INIT.
From-SVN: r108078
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/c-tree.texi | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi index 0163c5e..5045b72 100644 --- a/gcc/doc/c-tree.texi +++ b/gcc/doc/c-tree.texi @@ -1477,7 +1477,6 @@ This predicate holds if the function an overloaded @findex IF_COND @findex THEN_CLAUSE @findex ELSE_CLAUSE -@tindex RETURN_INIT @tindex RETURN_STMT @findex RETURN_EXPR @tindex SUBOBJECT @@ -1720,22 +1719,6 @@ statement can be obtained with the @code{LABEL_EXPR_LABEL} macro. The @code{IDENTIFIER_NODE} giving the name of the label can be obtained from the @code{LABEL_DECL} with @code{DECL_NAME}. -@item RETURN_INIT - -If the function uses the G++ ``named return value'' extension, meaning -that the function has been defined like: -@smallexample -S f(int) return s @{@dots{}@} -@end smallexample -then there will be a @code{RETURN_INIT}. There is never a named -returned value for a constructor. The first argument to the -@code{RETURN_INIT} is the name of the object returned; the second -argument is the initializer for the object. The object is initialized -when the @code{RETURN_INIT} is encountered. The object referred to is -the actual object returned; this extension is a manual way of doing the -``return-value optimization''. Therefore, the object must actually be -constructed in the place where the object will be returned. - @item RETURN_STMT Used to represent a @code{return} statement. The @code{RETURN_EXPR} is |