c-tree.texi (Function Bodies): Remove description of RETURN_INIT.

* doc/c-tree.texi (Function Bodies): Remove description of
        RETURN_INIT.

From-SVN: r108078
This commit is contained in:
Gabriel Dos Reis 2005-12-05 22:21:29 +00:00 committed by Gabriel Dos Reis
parent a3f9ee6316
commit 0499d0accb
2 changed files with 5 additions and 17 deletions

View File

@ -1,3 +1,8 @@
2005-12-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
* doc/c-tree.texi (Function Bodies): Remove description of
RETURN_INIT.
2005-12-05 Joseph S. Myers <joseph@codesourcery.com>
* doc/libgcc.texi (__floatunsisf, __floatunsidf, __floatunsitf,

View File

@ -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