OSDN Git Service

* c-decl.c (pushdecl): When an extern declaration at block scope
[pf3gnuchains/gcc-fork.git] / gcc / stub-objc.c
1 /* Stub functions for Objective-C and Objective-C++ routines
2    that are called from within the C and C++ front-ends,
3    respectively.
4    Copyright (C) 1991, 1995, 1997, 1998,
5    1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
6
7 This file is part of GCC.
8
9 GCC is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free
11 Software Foundation; either version 2, or (at your option) any later
12 version.
13
14 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
17 for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING.  If not, write to the Free
21 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 02111-1307, USA.  */
23
24 #include "config.h"
25 #include "system.h"
26 #include "coretypes.h"
27 #include "tree.h"
28 #include "c-common.h"
29
30 tree
31 objc_is_class_name (tree ARG_UNUSED (arg))
32 {
33   return 0;
34 }
35
36 tree
37 objc_is_id (tree ARG_UNUSED (arg))
38 {
39   return 0;
40 }
41
42 tree
43 objc_is_object_ptr (tree ARG_UNUSED (arg))
44 {
45   return 0;
46 }
47
48 tree
49 objc_lookup_ivar (tree ARG_UNUSED (arg))
50 {
51   return 0;
52 }
53
54 void
55 objc_check_decl (tree ARG_UNUSED (decl))
56 {
57 }
58    
59 int
60 objc_is_reserved_word (tree ARG_UNUSED (ident))
61 {
62   return 0;
63 }
64
65 int
66 objc_comptypes (tree ARG_UNUSED (lhs), tree ARG_UNUSED (rhs),
67                 int ARG_UNUSED (reflexive))
68 {
69   return -1;
70 }
71
72 tree
73 objc_message_selector (void)
74
75   return 0;
76 }
77
78 void
79 objc_declare_alias (tree ARG_UNUSED (alias), tree ARG_UNUSED (orig))
80 {
81 }
82
83 void
84 objc_declare_class (tree ARG_UNUSED (list))
85 {
86 }
87
88 void
89 objc_declare_protocols (tree ARG_UNUSED (list))
90 {
91 }
92
93 void
94 objc_start_protocol (tree ARG_UNUSED (proto),
95                      tree ARG_UNUSED (protorefs))
96 {
97 }
98
99 void
100 objc_start_class_interface (tree ARG_UNUSED (name),
101                             tree ARG_UNUSED (super),
102                             tree ARG_UNUSED (protos))
103 {
104 }
105
106 void
107 objc_start_category_interface (tree ARG_UNUSED (name),
108                                tree ARG_UNUSED (categ),
109                                tree ARG_UNUSED (protos))
110 {
111 }
112
113 void
114 objc_continue_interface (void)
115 {
116 }
117
118 void
119 objc_finish_interface (void)
120 {
121 }
122
123 void
124 objc_add_instance_variable (tree ARG_UNUSED (decl))
125 {
126 }
127
128 void
129 objc_set_visibility (int ARG_UNUSED (vis))
130 {
131 }
132
133 void
134 objc_set_method_type (enum tree_code ARG_UNUSED (code))
135 {
136 }
137
138 void
139 objc_start_class_implementation (tree ARG_UNUSED (name),
140                                  tree ARG_UNUSED (super))
141 {
142 }
143
144 void
145 objc_start_category_implementation (tree ARG_UNUSED (name),
146                                     tree ARG_UNUSED (categ))
147 {
148 }
149
150 void
151 objc_continue_implementation (void)
152 {
153 }
154
155 void
156 objc_clear_super_receiver (void)
157 {
158 }
159
160 void
161 objc_finish_implementation (void)
162 {
163 }
164
165 void
166 objc_add_method_declaration (tree ARG_UNUSED (signature))
167 {
168 }
169
170 void
171 objc_start_method_definition (tree ARG_UNUSED (signature))
172 {
173 }
174
175 void
176 objc_finish_method_definition (tree ARG_UNUSED (fndecl))
177 {
178 }
179
180 tree
181 objc_build_keyword_decl (tree ARG_UNUSED (selector),
182                          tree ARG_UNUSED (typename),
183                          tree ARG_UNUSED (identifier))
184 {
185   return 0;
186 }
187
188 tree
189 objc_build_method_signature (tree ARG_UNUSED (rettype),
190                              tree ARG_UNUSED (selectors),
191                              tree ARG_UNUSED (optparms))
192 {
193   return 0;
194 }
195
196 tree
197 objc_build_encode_expr (tree ARG_UNUSED (expr))
198 {
199   return 0;
200 }
201
202 tree
203 objc_build_protocol_expr (tree ARG_UNUSED (expr))
204 {
205   return 0;
206 }
207
208 tree
209 objc_build_selector_expr (tree ARG_UNUSED (expr))
210 {
211   return 0;
212 }
213
214 tree
215 objc_build_message_expr (tree ARG_UNUSED (expr))
216 {
217   return 0;
218 }
219
220 tree
221 objc_build_string_object (tree ARG_UNUSED (str))
222 {
223   return 0;
224 }
225
226 tree
227 objc_get_class_reference (tree ARG_UNUSED (name))
228 {
229   return 0;
230 }
231
232 tree
233 objc_get_protocol_qualified_type (tree ARG_UNUSED (name),
234                                   tree ARG_UNUSED (protos))
235 {
236   return 0;
237 }
238
239 int
240 objc_static_init_needed_p (void)
241 {
242   return 0;
243 }
244
245 tree
246 objc_generate_static_init_call (tree ARG_UNUSED (ctors))
247 {
248   return 0;
249 }
250
251 int
252 objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
253 {
254   return 1;
255 }