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
This commit is contained in:
parent
6cada0cd7d
commit
c39c0db36c
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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}.
|
||||
|
|
Loading…
Add table
Reference in a new issue