Commit c39c0db3 by Mark Mitchell Committed by Mark Mitchell

c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for unprototyped C functions…

c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for unprototyped C functions with no parameters.

	* c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
	unprototyped C functions with no parameters.

From-SVN: r37321
parent 6cada0cd
2000-11-08 Mark Mitchell <mark@codesourcery.com>
* c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
unprototyped C functions with no parameters.
2000-11-08 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
......
......@@ -543,6 +543,10 @@ is the @code{void_type_node}), then functions of this type do not take
variable arguments. Otherwise, they do take a variable number of
arguments.
Note that in C (but not in C++) a function declared like @code{void f()}
is an unprototyped function taking a variable number of arguments; the
@code{TYPE_ARG_TYPES} of such a function will be NULL.
@item METHOD_TYPE
Used to represent the type of a non-static member function. Like a
@code{FUNCTION_TYPE}, the return type is given by the @code{TREE_TYPE}.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment