diff options
| author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-21 21:31:40 +0000 |
|---|---|---|
| committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-21 21:31:40 +0000 |
| commit | 450302fed8753da109d0a1d26cd8c0a01818ad05 (patch) | |
| tree | d315e995a7b40e667b44d79bab6a3168904d425a /gcc/c-common.h | |
| parent | 970ae149e5205e152c18fcca7ccda544daef8575 (diff) | |
| download | ppe42-gcc-450302fed8753da109d0a1d26cd8c0a01818ad05.tar.gz ppe42-gcc-450302fed8753da109d0a1d26cd8c0a01818ad05.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
| -rw-r--r-- | gcc/c-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 80de15d3ef8..5c8fc18022a 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -912,7 +912,7 @@ extern void objc_continue_implementation (void); extern void objc_finish_implementation (void); extern void objc_set_visibility (int); extern void objc_set_method_type (enum tree_code); -extern tree objc_build_method_signature (tree, tree, tree); +extern tree objc_build_method_signature (tree, tree, tree, bool); extern void objc_add_method_declaration (tree); extern void objc_start_method_definition (tree); extern void objc_finish_method_definition (tree); |

