Update to gcc-3.4.6
[dragonfly.git] / contrib / gcc-3.4 / 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 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 lookup_interface (tree arg ATTRIBUTE_UNUSED)
32 {
33   return 0;
34 }
35
36 tree
37 is_class_name (tree arg ATTRIBUTE_UNUSED)
38 {
39   return 0;
40 }
41
42 tree
43 objc_is_object_ptr (tree arg ATTRIBUTE_UNUSED)
44 {
45   return 0;
46 }
47
48 tree
49 lookup_objc_ivar (tree arg ATTRIBUTE_UNUSED)
50 {
51   return 0;
52 }
53
54 void
55 objc_check_decl (tree decl ATTRIBUTE_UNUSED)
56 {
57 }
58    
59 int
60 objc_comptypes (tree lhs ATTRIBUTE_UNUSED, tree rhs ATTRIBUTE_UNUSED,
61                 int reflexive ATTRIBUTE_UNUSED)
62
63   return -1;
64 }
65
66 tree
67 objc_message_selector (void)
68
69   return 0;
70 }
71