1 /* Stub functions for Objective-C and Objective-C++ routines
2 that are called from within the C and C++ front-ends,
4 Copyright (C) 1991, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
5 2004, 2005, 2007, 2009 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
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
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/>. */
25 #include "coretypes.h"
30 objc_is_class_name (tree ARG_UNUSED (arg))
36 objc_is_id (tree ARG_UNUSED (arg))
42 objc_is_object_ptr (tree ARG_UNUSED (arg))
48 objc_lookup_ivar (tree other, tree ARG_UNUSED (arg))
50 /* Just use whatever C/C++ found. */
55 objc_check_decl (tree ARG_UNUSED (decl))
60 objc_is_reserved_word (tree ARG_UNUSED (ident))
66 objc_compare_types (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp),
67 int ARG_UNUSED (argno), tree ARG_UNUSED (callee))
73 objc_volatilize_decl (tree ARG_UNUSED (decl))
78 objc_type_quals_match (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp))
84 objc_rewrite_function_call (tree function, tree ARG_UNUSED (first_param))
90 objc_message_selector (void)
96 objc_declare_alias (tree ARG_UNUSED (alias), tree ARG_UNUSED (orig))
101 objc_declare_class (tree ARG_UNUSED (list))
106 objc_declare_protocols (tree ARG_UNUSED (list))
111 objc_start_protocol (tree ARG_UNUSED (proto),
112 tree ARG_UNUSED (protorefs))
117 objc_start_class_interface (tree ARG_UNUSED (name),
118 tree ARG_UNUSED (super),
119 tree ARG_UNUSED (protos))
124 objc_start_category_interface (tree ARG_UNUSED (name),
125 tree ARG_UNUSED (categ),
126 tree ARG_UNUSED (protos))
131 objc_continue_interface (void)
136 objc_finish_interface (void)
141 objc_add_instance_variable (tree ARG_UNUSED (decl))
146 objc_set_visibility (int ARG_UNUSED (vis))
151 objc_set_method_type (enum tree_code ARG_UNUSED (code))
156 objc_start_class_implementation (tree ARG_UNUSED (name),
157 tree ARG_UNUSED (super))
162 objc_start_category_implementation (tree ARG_UNUSED (name),
163 tree ARG_UNUSED (categ))
168 objc_continue_implementation (void)
173 objc_clear_super_receiver (void)
178 objc_finish_implementation (void)
183 objc_add_method_declaration (tree ARG_UNUSED (signature))
188 objc_start_method_definition (tree ARG_UNUSED (signature))
193 objc_finish_method_definition (tree ARG_UNUSED (fndecl))
198 objc_build_keyword_decl (tree ARG_UNUSED (selector),
199 tree ARG_UNUSED (type),
200 tree ARG_UNUSED (identifier))
206 objc_build_method_signature (tree ARG_UNUSED (rettype),
207 tree ARG_UNUSED (selectors),
208 tree ARG_UNUSED (optparms),
209 bool ARG_UNUSED (ellipsis))
215 objc_build_encode_expr (tree ARG_UNUSED (expr))
221 objc_build_protocol_expr (tree ARG_UNUSED (expr))
227 objc_build_selector_expr (location_t ARG_UNUSED (loc), tree ARG_UNUSED (expr))
233 objc_build_message_expr (tree ARG_UNUSED (expr))
239 objc_build_string_object (tree ARG_UNUSED (str))
245 objc_get_class_reference (tree ARG_UNUSED (name))
251 objc_get_protocol_qualified_type (tree ARG_UNUSED (name),
252 tree ARG_UNUSED (protos))
258 objc_static_init_needed_p (void)
264 objc_generate_static_init_call (tree ARG_UNUSED (ctors))
270 objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
276 objc_get_class_ivars (tree ARG_UNUSED (name))
282 objc_build_throw_stmt (location_t ARG_UNUSED (loc), tree ARG_UNUSED (expr))
288 objc_build_synchronized (location_t ARG_UNUSED (start_locus),
289 tree ARG_UNUSED (mutex), tree ARG_UNUSED (body))
295 objc_begin_try_stmt (location_t ARG_UNUSED (try_locus), tree ARG_UNUSED (body))
300 objc_begin_catch_clause (tree ARG_UNUSED (decl))
305 objc_finish_catch_clause (void)
310 objc_build_finally_clause (location_t ARG_UNUSED (finally_locus),
311 tree ARG_UNUSED (body))
316 objc_finish_try_stmt (void)
322 objc_generate_write_barrier (tree ARG_UNUSED (lhs),
323 enum tree_code ARG_UNUSED (modifycode),
324 tree ARG_UNUSED (rhs))