OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [stub-objc.c] - Blame information for rev 857

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* 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, 1999, 2000, 2001, 2002, 2003,
5
   2004, 2005, 2007  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 3, 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 COPYING3.  If not see
21
<http://www.gnu.org/licenses/>.  */
22
 
23
#include "config.h"
24
#include "system.h"
25
#include "coretypes.h"
26
#include "tree.h"
27
#include "c-common.h"
28
 
29
tree
30
objc_is_class_name (tree ARG_UNUSED (arg))
31
{
32
  return 0;
33
}
34
 
35
tree
36
objc_is_id (tree ARG_UNUSED (arg))
37
{
38
  return 0;
39
}
40
 
41
tree
42
objc_is_object_ptr (tree ARG_UNUSED (arg))
43
{
44
  return 0;
45
}
46
 
47
tree
48
objc_lookup_ivar (tree other, tree ARG_UNUSED (arg))
49
{
50
  /* Just use whatever C/C++ found.  */
51
  return other;
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
bool
66
objc_compare_types (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp),
67
                    int ARG_UNUSED (argno), tree ARG_UNUSED (callee))
68
{
69
  return false;
70
}
71
 
72
void
73
objc_volatilize_decl (tree ARG_UNUSED (decl))
74
{
75
}
76
 
77
bool
78
objc_type_quals_match (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp))
79
{
80
  return false;
81
}
82
 
83
tree
84
objc_rewrite_function_call (tree function, tree ARG_UNUSED (params))
85
{
86
  return function;
87
}
88
 
89
tree
90
objc_message_selector (void)
91
{
92
  return 0;
93
}
94
 
95
void
96
objc_declare_alias (tree ARG_UNUSED (alias), tree ARG_UNUSED (orig))
97
{
98
}
99
 
100
void
101
objc_declare_class (tree ARG_UNUSED (list))
102
{
103
}
104
 
105
void
106
objc_declare_protocols (tree ARG_UNUSED (list))
107
{
108
}
109
 
110
void
111
objc_start_protocol (tree ARG_UNUSED (proto),
112
                     tree ARG_UNUSED (protorefs))
113
{
114
}
115
 
116
void
117
objc_start_class_interface (tree ARG_UNUSED (name),
118
                            tree ARG_UNUSED (super),
119
                            tree ARG_UNUSED (protos))
120
{
121
}
122
 
123
void
124
objc_start_category_interface (tree ARG_UNUSED (name),
125
                               tree ARG_UNUSED (categ),
126
                               tree ARG_UNUSED (protos))
127
{
128
}
129
 
130
void
131
objc_continue_interface (void)
132
{
133
}
134
 
135
void
136
objc_finish_interface (void)
137
{
138
}
139
 
140
void
141
objc_add_instance_variable (tree ARG_UNUSED (decl))
142
{
143
}
144
 
145
void
146
objc_set_visibility (int ARG_UNUSED (vis))
147
{
148
}
149
 
150
void
151
objc_set_method_type (enum tree_code ARG_UNUSED (code))
152
{
153
}
154
 
155
void
156
objc_start_class_implementation (tree ARG_UNUSED (name),
157
                                 tree ARG_UNUSED (super))
158
{
159
}
160
 
161
void
162
objc_start_category_implementation (tree ARG_UNUSED (name),
163
                                    tree ARG_UNUSED (categ))
164
{
165
}
166
 
167
void
168
objc_continue_implementation (void)
169
{
170
}
171
 
172
void
173
objc_clear_super_receiver (void)
174
{
175
}
176
 
177
void
178
objc_finish_implementation (void)
179
{
180
}
181
 
182
void
183
objc_add_method_declaration (tree ARG_UNUSED (signature))
184
{
185
}
186
 
187
void
188
objc_start_method_definition (tree ARG_UNUSED (signature))
189
{
190
}
191
 
192
void
193
objc_finish_method_definition (tree ARG_UNUSED (fndecl))
194
{
195
}
196
 
197
tree
198
objc_build_keyword_decl (tree ARG_UNUSED (selector),
199
                         tree ARG_UNUSED (typename),
200
                         tree ARG_UNUSED (identifier))
201
{
202
  return 0;
203
}
204
 
205
tree
206
objc_build_method_signature (tree ARG_UNUSED (rettype),
207
                             tree ARG_UNUSED (selectors),
208
                             tree ARG_UNUSED (optparms),
209
                             bool ARG_UNUSED (ellipsis))
210
{
211
  return 0;
212
}
213
 
214
tree
215
objc_build_encode_expr (tree ARG_UNUSED (expr))
216
{
217
  return 0;
218
}
219
 
220
tree
221
objc_build_protocol_expr (tree ARG_UNUSED (expr))
222
{
223
  return 0;
224
}
225
 
226
tree
227
objc_build_selector_expr (tree ARG_UNUSED (expr))
228
{
229
  return 0;
230
}
231
 
232
tree
233
objc_build_message_expr (tree ARG_UNUSED (expr))
234
{
235
  return 0;
236
}
237
 
238
tree
239
objc_build_string_object (tree ARG_UNUSED (str))
240
{
241
  return 0;
242
}
243
 
244
tree
245
objc_get_class_reference (tree ARG_UNUSED (name))
246
{
247
  return 0;
248
}
249
 
250
tree
251
objc_get_protocol_qualified_type (tree ARG_UNUSED (name),
252
                                  tree ARG_UNUSED (protos))
253
{
254
  return 0;
255
}
256
 
257
int
258
objc_static_init_needed_p (void)
259
{
260
  return 0;
261
}
262
 
263
tree
264
objc_generate_static_init_call (tree ARG_UNUSED (ctors))
265
{
266
  return 0;
267
}
268
 
269
int
270
objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
271
{
272
  return 1;
273
}
274
 
275
tree
276
objc_get_class_ivars (tree ARG_UNUSED (name))
277
{
278
  return 0;
279
}
280
 
281
tree
282
objc_build_throw_stmt (tree ARG_UNUSED (expr))
283
{
284
  return 0;
285
}
286
 
287
tree
288
objc_build_synchronized (location_t ARG_UNUSED (start_locus),
289
                         tree ARG_UNUSED (mutex), tree ARG_UNUSED (body))
290
{
291
  return 0;
292
}
293
 
294
void
295
objc_begin_try_stmt (location_t ARG_UNUSED (try_locus), tree ARG_UNUSED (body))
296
{
297
}
298
 
299
void
300
objc_begin_catch_clause (tree ARG_UNUSED (decl))
301
{
302
}
303
 
304
void
305
objc_finish_catch_clause (void)
306
{
307
}
308
 
309
void
310
objc_build_finally_clause (location_t ARG_UNUSED (finally_locus),
311
                           tree ARG_UNUSED (body))
312
{
313
}
314
 
315
tree
316
objc_finish_try_stmt (void)
317
{
318
  return 0;
319
}
320
 
321
tree
322
objc_generate_write_barrier (tree ARG_UNUSED (lhs),
323
                             enum tree_code ARG_UNUSED (modifycode),
324
                             tree ARG_UNUSED (rhs))
325
{
326
  return 0;
327
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.