1999-09-25 Mark Mitchell <mark@codesourcery.com>
+ * dump.c (dequeue_and_dump): Handle RESULT_DECL.
+ * ir.texi: Document RESULT_DECL and DECL_RESULT.
+
* cp-tree.h (check_return_expr): New function.
* decl.c (finish_constructor_body): New function.
(pushdecl): Put global friend functions in namespace binding
@tindex PARM_DECL
@tindex FIELD_DECL
@tindex NAMESPACE_DECL
+@tindex RESULT_DECL
@tindex TEMPLATE_DECL
@tindex USING_DECL
@findex DECL_INITIAL
@code{INTEGER_CST} with the same type as the @code{TREE_TYPE} of the
@code{CONST_DECL}, i.e., an @code{ENUMERAL_TYPE}.
+@item RESULT_DECL
+These nodes represent the value returned by a function. When a value is
+assigned to a @code{RESULT_DECL}, that indicates that the value should
+be returned, via bitwise copy, by the function. You can use
+@code{DECL_SIZE} and @code{DECL_ALIGN} on a @code{RESULT_DECL}, just as
+with a @code{VAR_DECL}.
+
@item TYPE_DECL
These nodes represent @code{typedef} declarations. The @code{TREE_TYPE}
is the type declared to have the name given by @code{DECL_NAME}. In
function. Subsequent @code{PARM_DECL} nodes can be obtained by
following the @code{TREE_CHAIN} links.
+@item DECL_RESULT
+This macro returns the @code{RESULT_DECL} for the function.
+
@item TREE_TYPE
This macro returns the @code{FUNCTION_TYPE} or @code{METHOD_TYPE} for
the function.