From e913c82d52f267ae5b7e1e651c74b21482bd8f03 Mon Sep 17 00:00:00 2001 From: zlaski Date: Sun, 31 Oct 2004 06:17:55 +0000 Subject: [gcc/ChangeLog] 2004-10-30 Ziemowit Laski * c-common.h (objc_lookup_ivar): Add second parameter to prototype. * c-typeck.c (build_external_ref): After looking up symbol, pass it to objc_lookup_ivar() to decide whether it or the ivar should be used, rather than deciding the issue locally. * stub-objc.c (objc_lookup_ivar): Add an OTHER parameter, which is simply returned in the non-ObjC case. [gcc/objc/ChangeLog] 2004-10-30 Ziemowit Laski * objc-act.c (objc_lookup_ivar): The new OTHER parameter contains the result of the ID lookup by the C or C++ front-end; in class methods, use OTHER if it exists; in instance methods, use OTHER only if it is locally declared. [gcc/testsuite/ChangeLog] 2004-10-30 Ziemowit Laski * objc.dg/local-decl-1.m: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89912 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/c-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/c-common.h') diff --git a/gcc/c-common.h b/gcc/c-common.h index 95aaf8c115a..1406177514e 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -905,7 +905,7 @@ extern void objc_check_decl (tree); extern int objc_is_reserved_word (tree); extern int objc_comptypes (tree, tree, int); extern tree objc_message_selector (void); -extern tree objc_lookup_ivar (tree); +extern tree objc_lookup_ivar (tree, tree); extern void objc_clear_super_receiver (void); extern int objc_is_public (tree, tree); extern tree objc_is_id (tree); -- cgit v1.2.3