* config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.
[official-gcc.git] / gcc / stub-objc.c
blob9e874a2507eee454578464ff3798f2d29a90713f
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.
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 2, 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 COPYING. If not, write to the Free
21 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 02111-1307, USA. */
24 #include "config.h"
25 #include "system.h"
26 #include "coretypes.h"
27 #include "tree.h"
28 #include "c-common.h"
30 tree
31 objc_is_class_name (tree ARG_UNUSED (arg))
33 return 0;
36 tree
37 objc_is_id (tree ARG_UNUSED (arg))
39 return 0;
42 tree
43 objc_is_object_ptr (tree ARG_UNUSED (arg))
45 return 0;
48 tree
49 objc_lookup_ivar (tree ARG_UNUSED (arg))
51 return 0;
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 int
66 objc_comptypes (tree ARG_UNUSED (lhs), tree ARG_UNUSED (rhs),
67 int ARG_UNUSED (reflexive))
69 return -1;
72 tree
73 objc_message_selector (void)
75 return 0;
78 void
79 objc_declare_alias (tree ARG_UNUSED (alias), tree ARG_UNUSED (orig))
83 void
84 objc_declare_class (tree ARG_UNUSED (list))
88 void
89 objc_declare_protocols (tree ARG_UNUSED (list))
93 void
94 objc_start_protocol (tree ARG_UNUSED (proto),
95 tree ARG_UNUSED (protorefs))
99 void
100 objc_start_class_interface (tree ARG_UNUSED (name),
101 tree ARG_UNUSED (super),
102 tree ARG_UNUSED (protos))
106 void
107 objc_start_category_interface (tree ARG_UNUSED (name),
108 tree ARG_UNUSED (categ),
109 tree ARG_UNUSED (protos))
113 void
114 objc_continue_interface (void)
118 void
119 objc_finish_interface (void)
123 void
124 objc_add_instance_variable (tree ARG_UNUSED (decl))
128 void
129 objc_set_visibility (int ARG_UNUSED (vis))
133 void
134 objc_set_method_type (enum tree_code ARG_UNUSED (code))
138 void
139 objc_start_class_implementation (tree ARG_UNUSED (name),
140 tree ARG_UNUSED (super))
144 void
145 objc_start_category_implementation (tree ARG_UNUSED (name),
146 tree ARG_UNUSED (categ))
150 void
151 objc_continue_implementation (void)
155 void
156 objc_clear_super_receiver (void)
160 void
161 objc_finish_implementation (void)
165 void
166 objc_add_method_declaration (tree ARG_UNUSED (signature))
170 void
171 objc_start_method_definition (tree ARG_UNUSED (signature))
175 void
176 objc_finish_method_definition (tree ARG_UNUSED (fndecl))
180 tree
181 objc_build_keyword_decl (tree ARG_UNUSED (selector),
182 tree ARG_UNUSED (typename),
183 tree ARG_UNUSED (identifier))
185 return 0;
188 tree
189 objc_build_method_signature (tree ARG_UNUSED (rettype),
190 tree ARG_UNUSED (selectors),
191 tree ARG_UNUSED (optparms))
193 return 0;
196 tree
197 objc_build_encode_expr (tree ARG_UNUSED (expr))
199 return 0;
202 tree
203 objc_build_protocol_expr (tree ARG_UNUSED (expr))
205 return 0;
208 tree
209 objc_build_selector_expr (tree ARG_UNUSED (expr))
211 return 0;
214 tree
215 objc_build_message_expr (tree ARG_UNUSED (expr))
217 return 0;
220 tree
221 objc_build_string_object (tree ARG_UNUSED (str))
223 return 0;
226 tree
227 objc_get_class_reference (tree ARG_UNUSED (name))
229 return 0;
232 tree
233 objc_get_protocol_qualified_type (tree ARG_UNUSED (name),
234 tree ARG_UNUSED (protos))
236 return 0;
240 objc_static_init_needed_p (void)
242 return 0;
245 tree
246 objc_generate_static_init_call (tree ARG_UNUSED (ctors))
248 return 0;
252 objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
254 return 1;