summaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
authorzlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-06 23:32:13 +0000
committerzlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-06 23:32:13 +0000
commit260fbc4e954607050fd2243efec279de51369f77 (patch)
treedf6bd7f2e22ceca6b00aa662bdecd65bc47d4c80 /gcc/c-lang.c
parentc4797f24cb5e00e30516c6df9d0681f9f4c1094a (diff)
downloadgcc-260fbc4e954607050fd2243efec279de51369f77.tar.gz
[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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56905 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index ec17f505bea..8614e2500e5 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -174,6 +174,13 @@ is_class_name (arg)
return 0;
}
+tree
+objc_is_id (arg)
+ tree arg ATTRIBUTE_UNUSED;
+{
+ return 0;
+}
+
void
objc_check_decl (decl)
tree decl ATTRIBUTE_UNUSED;