* gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
[official-gcc.git] / gcc / stub-objc.c
blob2b79566e343fc37fb00d7b73654e8e2660f46de9
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, 1999, 2000, 2001, 2002, 2003,
5 2004, 2005, 2007 Free Software Foundation, Inc.
7 This file is part of GCC.
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.
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.
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/>. */
23 #include "config.h"
24 #include "system.h"
25 #include "coretypes.h"
26 #include "tree.h"
27 #include "c-common.h"
29 tree
30 objc_is_class_name (tree ARG_UNUSED (arg))
32 return 0;
35 tree
36 objc_is_id (tree ARG_UNUSED (arg))
38 return 0;
41 tree
42 objc_is_object_ptr (tree ARG_UNUSED (arg))
44 return 0;
47 tree
48 objc_lookup_ivar (tree other, tree ARG_UNUSED (arg))
50 /* Just use whatever C/C++ found. */
51 return other;
54 void
55 objc_check_decl (tree ARG_UNUSED (decl))
59 int
60 objc_is_reserved_word (tree ARG_UNUSED (ident))
62 return 0;
65 bool
66 objc_compare_types (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp),
67 int ARG_UNUSED (argno), tree ARG_UNUSED (callee))
69 return false;
72 void
73 objc_volatilize_decl (tree ARG_UNUSED (decl))
77 bool
78 objc_type_quals_match (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp))
80 return false;
83 tree
84 objc_rewrite_function_call (tree function, tree ARG_UNUSED (params))
86 return function;
89 tree
90 objc_message_selector (void)
92 return 0;
95 void
96 objc_declare_alias (tree ARG_UNUSED (alias), tree ARG_UNUSED (orig))
100 void
101 objc_declare_class (tree ARG_UNUSED (list))
105 void
106 objc_declare_protocols (tree ARG_UNUSED (list))
110 void
111 objc_start_protocol (tree ARG_UNUSED (proto),
112 tree ARG_UNUSED (protorefs))
116 void
117 objc_start_class_interface (tree ARG_UNUSED (name),
118 tree ARG_UNUSED (super),
119 tree ARG_UNUSED (protos))
123 void
124 objc_start_category_interface (tree ARG_UNUSED (name),
125 tree ARG_UNUSED (categ),
126 tree ARG_UNUSED (protos))
130 void
131 objc_continue_interface (void)
135 void
136 objc_finish_interface (void)
140 void
141 objc_add_instance_variable (tree ARG_UNUSED (decl))
145 void
146 objc_set_visibility (int ARG_UNUSED (vis))
150 void
151 objc_set_method_type (enum tree_code ARG_UNUSED (code))
155 void
156 objc_start_class_implementation (tree ARG_UNUSED (name),
157 tree ARG_UNUSED (super))
161 void
162 objc_start_category_implementation (tree ARG_UNUSED (name),
163 tree ARG_UNUSED (categ))
167 void
168 objc_continue_implementation (void)
172 void
173 objc_clear_super_receiver (void)
177 void
178 objc_finish_implementation (void)
182 void
183 objc_add_method_declaration (tree ARG_UNUSED (signature))
187 void
188 objc_start_method_definition (tree ARG_UNUSED (signature))
192 void
193 objc_finish_method_definition (tree ARG_UNUSED (fndecl))
197 tree
198 objc_build_keyword_decl (tree ARG_UNUSED (selector),
199 tree ARG_UNUSED (type),
200 tree ARG_UNUSED (identifier))
202 return 0;
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))
211 return 0;
214 tree
215 objc_build_encode_expr (tree ARG_UNUSED (expr))
217 return 0;
220 tree
221 objc_build_protocol_expr (tree ARG_UNUSED (expr))
223 return 0;
226 tree
227 objc_build_selector_expr (tree ARG_UNUSED (expr))
229 return 0;
232 tree
233 objc_build_message_expr (tree ARG_UNUSED (expr))
235 return 0;
238 tree
239 objc_build_string_object (tree ARG_UNUSED (str))
241 return 0;
244 tree
245 objc_get_class_reference (tree ARG_UNUSED (name))
247 return 0;
250 tree
251 objc_get_protocol_qualified_type (tree ARG_UNUSED (name),
252 tree ARG_UNUSED (protos))
254 return 0;
258 objc_static_init_needed_p (void)
260 return 0;
263 tree
264 objc_generate_static_init_call (tree ARG_UNUSED (ctors))
266 return 0;
270 objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
272 return 1;
275 tree
276 objc_get_class_ivars (tree ARG_UNUSED (name))
278 return 0;
281 tree
282 objc_build_throw_stmt (tree ARG_UNUSED (expr))
284 return 0;
287 tree
288 objc_build_synchronized (location_t ARG_UNUSED (start_locus),
289 tree ARG_UNUSED (mutex), tree ARG_UNUSED (body))
291 return 0;
294 void
295 objc_begin_try_stmt (location_t ARG_UNUSED (try_locus), tree ARG_UNUSED (body))
299 void
300 objc_begin_catch_clause (tree ARG_UNUSED (decl))
304 void
305 objc_finish_catch_clause (void)
309 void
310 objc_build_finally_clause (location_t ARG_UNUSED (finally_locus),
311 tree ARG_UNUSED (body))
315 tree
316 objc_finish_try_stmt (void)
318 return 0;
321 tree
322 objc_generate_write_barrier (tree ARG_UNUSED (lhs),
323 enum tree_code ARG_UNUSED (modifycode),
324 tree ARG_UNUSED (rhs))
326 return 0;