diff options
author | Ziemowit Laski <zlaski@apple.com> | 2005-01-17 23:46:57 +0000 |
---|---|---|
committer | Ziemowit Laski <zlaski@apple.com> | 2005-01-17 23:46:57 +0000 |
commit | 0404bcd9ad48d5667befd1c8c42bf0a468de4f8f (patch) | |
tree | bbbe2536cb88750c28e8984c1cafe18379045dec /gcc/c-common.h | |
parent | ae9e51357da93d0f8075fb57b27e4667dc75b205 (diff) |
[gcc/ChangeLog.apple-ppc]
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3951689
* c-common.h (objc_finish_try_stmt, objc_build_synchronized):
Return 'tree' instead of 'void'.
* stub-objc.c (objc_build_throw_stmt, objc_begin_try_stmt,
objc_finish_try_stmt, objc_begin_catch_clause,
objc_finish_catch_clause, objc_build_finally_clause,
objc_build_synchronized: New stubs.
[gcc/cp/ChangeLog.apple-ppc]
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3955336
* parser.c (cp_parser_objc_message_receiver): Try parsing
receiver as an expression first; failing that, as a
nested type.
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3951689
* parser.c (cp_parser_objc_try_catch_finally_statement,
cp_parser_objc_synchronized_statement, cp_parser_objc_throw_statement
cp_parser_objc_statement): New functions.
(cp_parser_statement): Call cp_parser_objc_statement() to
parse Objective-C statements.
[gcc/objc/ChangeLog.apple-ppc]
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3955336
* objc-act.c (objc_get_class_reference): In Objective-C++,
make sure a type is declared in the global namespace before
looking it up as an ObjC class.
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3953044 (PR objc/19321)
* objc-act.c (get_arg_type_list): Decay function arguments into
pointers.
(objc_push_parm): Likewise; bring PARM_DECL construction closer
in line with what the C front-end does.
(objc_get_parm_info): Call pushdecl() and finish_decl() on
each PARM_DECL, like the C front-end does.
(start_method_def): Remove redundant ARRAY_TYPE decay.
(objc_start_function): Bring closer in line with what the
C front-end does for functions.
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3951689
* objc-act.c (next_sjlj_build_enter_and_setjmp): For
Objective-C++, convert _setjmp() argument to type the
function expects.
(objc_finish_try_stmt, objc_build_synchronized): Return
the resulting statement node.
[gcc/testsuite/ChangeLog.apple-ppc]
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3955336
* obj-c++.dg/cxx-scope-1.mm: New.
* obj-c++.dg/cxx-scope-2.mm: New.
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3953044 (PR objc/19321)
* objc.dg/func-ptr-2.m: New.
* objc.dg/volatile-1.m: New.
2005-01-17 Ziemowit Laski <zlaski@apple.com>
Radar 3951689
* obj-c++.dg/try-catch-1.mm: New.
* obj-c++.dg/try-catch-2.mm: New.
* obj-c++.dg/try-catch-3.mm: New.
* obj-c++.dg/try-catch-4.mm: New.
* obj-c++.dg/try-catch-5.mm: New.
* obj-c++.dg/try-catch-6.mm: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-ppc-branch@93794 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 6393da4be5b..e882d0fbe73 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -1019,11 +1019,13 @@ extern void objc_add_instance_variable (tree); extern tree objc_build_keyword_decl (tree, tree, tree); extern tree objc_build_throw_stmt (tree); extern void objc_begin_try_stmt (location_t, tree); -extern void objc_finish_try_stmt (void); +/* APPLE LOCAL Objective-C++ */ +extern tree objc_finish_try_stmt (void); extern void objc_begin_catch_clause (tree); extern void objc_finish_catch_clause (void); extern void objc_build_finally_clause (location_t, tree); -extern void objc_build_synchronized (location_t, tree, tree); +/* APPLE LOCAL Objective-C++ */ +extern tree objc_build_synchronized (location_t, tree, tree); extern int objc_static_init_needed_p (void); extern tree objc_generate_static_init_call (tree); |