diff options
author | Ziemowit Laski <zlaski@apple.com> | 2002-09-06 23:32:13 +0000 |
---|---|---|
committer | Ziemowit Laski <zlaski@gcc.gnu.org> | 2002-09-06 23:32:13 +0000 |
commit | 370ce32a02500b1394456b4d1ca495e464624cc0 (patch) | |
tree | df6bd7f2e22ceca6b00aa662bdecd65bc47d4c80 /gcc/c-tree.h | |
parent | 5fc0e5dfb43ae87c4afc11879efedc9845cae6a9 (diff) | |
download | gcc-370ce32a02500b1394456b4d1ca495e464624cc0.zip gcc-370ce32a02500b1394456b4d1ca495e464624cc0.tar.gz gcc-370ce32a02500b1394456b4d1ca495e464624cc0.tar.bz2 |
c-lang.c (objc_is_id): New stub.
[gcc/ChangeLog]
2002-09-06 Ziemowit Laski <zlaski@apple.com>
* c-lang.c (objc_is_id): New stub.
* c-tree.h (objc_is_id): New forward declaration.
* c-typeck.c (build_c_cast): Do not strip protocol
qualifiers from 'id' type.
* objc/objc-act.c (objc_comptypes): Correct handling
of protocol qualifiers.
(objc_is_id): New.
[gcc/testsuite/ChangeLog]
2002-09-05 Ziemowit Laski <zlaski@apple.com>
* objc.dg/proto-lossage-1.m: New test.
From-SVN: r56905
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 2976e65..aa2fda5 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -165,6 +165,7 @@ struct lang_type GTY(()) /* in c-lang.c and objc-act.c */ extern tree lookup_interface PARAMS ((tree)); extern tree is_class_name PARAMS ((tree)); +extern tree objc_is_id PARAMS ((tree)); extern void objc_check_decl PARAMS ((tree)); extern void finish_file PARAMS ((void)); extern int objc_comptypes PARAMS ((tree, tree, int)); |