summaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
authorZiemowit Laski <zlaski@apple.com>2002-09-06 23:32:13 +0000
committerZiemowit Laski <zlaski@gcc.gnu.org>2002-09-06 23:32:13 +0000
commit370ce32a02500b1394456b4d1ca495e464624cc0 (patch)
treedf6bd7f2e22ceca6b00aa662bdecd65bc47d4c80 /gcc/c-lang.c
parent5fc0e5dfb43ae87c4afc11879efedc9845cae6a9 (diff)
downloadgcc-370ce32a02500b1394456b4d1ca495e464624cc0.tar.gz
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-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;