]> gcc.gnu.org Git - gcc.git/commit - gcc/c-family/c-common.h
c-common.h (objc_build_method_signature): Update prototype.
authorRoger Sayle <roger@eyesopen.com>
Thu, 21 Apr 2005 21:31:40 +0000 (21:31 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 21 Apr 2005 21:31:40 +0000 (21:31 +0000)
commitdbb743654f3b7d96ba40b9683feed4cb20e4435d
treed315e995a7b40e667b44d79bab6a3168904d425a
parent915167f5a5a8f8f5a4107b7fa7df7fe5aae66365
c-common.h (objc_build_method_signature): Update prototype.

* c-common.h (objc_build_method_signature): Update prototype.
* stub-objc.c (objc_build_method_signature): Update the stub
implementation to accept and ignore additional parameter.
* c-parser.c (c_parser_objc_method_decl): Reorgnize to pass
the value of ellipsis to objc_build_method_signature instead
of setting TREE_OVERFLOW on the parms TREE_LIST node.

* objc-act.h (METHOD_ADD_ARGS_ELLIPSIS_P): New macro for accessing
this field of an objc method decl.
* objc-act.c (build_method_decl): Take an additional "ellipsis"
argument, and set METHOD_ADD_ARGS_ELLIPSIS_P as appropriate.
(objc_build_method_signature): Accept additional "ellipsis"
argument and pass it to build_method_decl.
(get_arg_type_list, start_method_def, gen_method_decl): Use
the new METHOD_ADD_ARGS_ELLIPSIS_P instead of examining the
TREE_OVERFLOW field of a TREE_LIST node.

From-SVN: r98528
gcc/ChangeLog
gcc/c-common.h
gcc/c-parser.c
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/objc/objc-act.h
gcc/stub-objc.c
This page took 0.057856 seconds and 5 git commands to generate.