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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [c-objc-common.h] - Blame information for rev 822

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

Line No. Rev Author Line
1 38 julius
/* Language hooks common to C and ObjC front ends.
2
   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
3
   Contributed by Ziemowit Laski  <zlaski@apple.com>
4
 
5
This file is part of GCC.
6
 
7
GCC is free software; you can redistribute it and/or modify it under
8
the terms of the GNU General Public License as published by the Free
9
Software Foundation; either version 3, or (at your option) any later
10
version.
11
 
12
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13
WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15
for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with GCC; see the file COPYING3.  If not see
19
<http://www.gnu.org/licenses/>.  */
20
 
21
#ifndef GCC_C_OBJC_COMMON
22
#define GCC_C_OBJC_COMMON
23
 
24
/* In c-objc-common.c.  */
25
extern void c_initialize_diagnostics (diagnostic_context *);
26
 
27
/* Lang hooks that are shared between C and ObjC are defined here.  Hooks
28
   specific to C or ObjC go in c-lang.c and objc/objc-lang.c, respectively.  */
29
 
30
#undef LANG_HOOKS_IDENTIFIER_SIZE
31
#define LANG_HOOKS_IDENTIFIER_SIZE C_SIZEOF_STRUCT_LANG_IDENTIFIER
32
#undef LANG_HOOKS_FINISH
33
#define LANG_HOOKS_FINISH c_common_finish
34
#undef LANG_HOOKS_INIT_OPTIONS
35
#define LANG_HOOKS_INIT_OPTIONS c_common_init_options
36
#undef LANG_HOOKS_INITIALIZE_DIAGNOSTICS
37
#define LANG_HOOKS_INITIALIZE_DIAGNOSTICS c_initialize_diagnostics
38
#undef LANG_HOOKS_HANDLE_OPTION
39
#define LANG_HOOKS_HANDLE_OPTION c_common_handle_option
40
#undef LANG_HOOKS_MISSING_ARGUMENT
41
#define LANG_HOOKS_MISSING_ARGUMENT c_common_missing_argument
42
#undef LANG_HOOKS_POST_OPTIONS
43
#define LANG_HOOKS_POST_OPTIONS c_common_post_options
44
#undef LANG_HOOKS_GET_ALIAS_SET
45
#define LANG_HOOKS_GET_ALIAS_SET c_common_get_alias_set
46
#undef LANG_HOOKS_EXPAND_EXPR
47
#define LANG_HOOKS_EXPAND_EXPR c_expand_expr
48
#undef LANG_HOOKS_EXPAND_DECL
49
#define LANG_HOOKS_EXPAND_DECL c_expand_decl
50
#undef LANG_HOOKS_MARK_ADDRESSABLE
51
#define LANG_HOOKS_MARK_ADDRESSABLE c_mark_addressable
52
#undef LANG_HOOKS_PARSE_FILE
53
#define LANG_HOOKS_PARSE_FILE c_common_parse_file
54
#undef LANG_HOOKS_FINISH_INCOMPLETE_DECL
55
#define LANG_HOOKS_FINISH_INCOMPLETE_DECL c_finish_incomplete_decl
56
#undef LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS
57
#define LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS true
58
#undef LANG_HOOKS_STATICP
59
#define LANG_HOOKS_STATICP c_staticp
60
#undef LANG_HOOKS_NO_BODY_BLOCKS
61
#define LANG_HOOKS_NO_BODY_BLOCKS true
62
#undef LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL
63
#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL c_warn_unused_global_decl
64
#undef LANG_HOOKS_PRINT_IDENTIFIER
65
#define LANG_HOOKS_PRINT_IDENTIFIER c_print_identifier
66
#undef LANG_HOOKS_TYPES_COMPATIBLE_P
67
#define LANG_HOOKS_TYPES_COMPATIBLE_P c_types_compatible_p
68
#undef LANG_HOOKS_FUNCTION_ENTER_NESTED
69
#define LANG_HOOKS_FUNCTION_ENTER_NESTED c_push_function_context
70
#undef LANG_HOOKS_FUNCTION_LEAVE_NESTED
71
#define LANG_HOOKS_FUNCTION_LEAVE_NESTED c_pop_function_context
72
#undef LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P
73
#define LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P c_missing_noreturn_ok_p
74
#undef LANG_HOOKS_DUP_LANG_SPECIFIC_DECL
75
#define LANG_HOOKS_DUP_LANG_SPECIFIC_DECL c_dup_lang_specific_decl
76
 
77
/* Attribute hooks.  */
78
#undef LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
79
#define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE c_common_attribute_table
80
#undef LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
81
#define LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE c_common_format_attribute_table
82
 
83
#undef LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN
84
#define LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN \
85
  c_cannot_inline_tree_fn
86
#undef LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS
87
#define LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS \
88
  c_disregard_inline_limits
89
#undef LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P
90
#define LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P \
91
  anon_aggr_type_p
92
#undef LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING
93
#define LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING \
94
  c_convert_parm_for_inlining
95
#undef LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN
96
#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN c_dump_tree
97
 
98
#undef LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION
99
#define LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION c_expand_body
100
 
101
#undef LANG_HOOKS_TYPE_FOR_MODE
102
#define LANG_HOOKS_TYPE_FOR_MODE c_common_type_for_mode
103
#undef LANG_HOOKS_TYPE_FOR_SIZE
104
#define LANG_HOOKS_TYPE_FOR_SIZE c_common_type_for_size
105
#undef LANG_HOOKS_SIGNED_TYPE
106
#define LANG_HOOKS_SIGNED_TYPE c_common_signed_type
107
#undef LANG_HOOKS_UNSIGNED_TYPE
108
#define LANG_HOOKS_UNSIGNED_TYPE c_common_unsigned_type
109
#undef LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE
110
#define LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE c_common_signed_or_unsigned_type
111
#undef LANG_HOOKS_INCOMPLETE_TYPE_ERROR
112
#define LANG_HOOKS_INCOMPLETE_TYPE_ERROR c_incomplete_type_error
113
#undef LANG_HOOKS_TYPE_PROMOTES_TO
114
#define LANG_HOOKS_TYPE_PROMOTES_TO c_type_promotes_to
115
#undef LANG_HOOKS_REGISTER_BUILTIN_TYPE
116
#define LANG_HOOKS_REGISTER_BUILTIN_TYPE c_register_builtin_type
117
#undef LANG_HOOKS_TO_TARGET_CHARSET
118
#define LANG_HOOKS_TO_TARGET_CHARSET c_common_to_target_charset
119
#undef LANG_HOOKS_EXPR_TO_DECL
120
#define LANG_HOOKS_EXPR_TO_DECL c_expr_to_decl
121
 
122
/* The C front end's scoping structure is very different from
123
   that expected by the language-independent code; it is best
124
   to disable getdecls.
125
   This means it must also provide its own write_globals.  */
126
 
127
#undef LANG_HOOKS_GETDECLS
128
#define LANG_HOOKS_GETDECLS lhd_return_null_tree_v
129
#undef LANG_HOOKS_WRITE_GLOBALS
130
#define LANG_HOOKS_WRITE_GLOBALS c_write_global_declarations
131
 
132
/* Hooks for tree gimplification.  */
133
#undef LANG_HOOKS_GIMPLIFY_EXPR
134
#define LANG_HOOKS_GIMPLIFY_EXPR c_gimplify_expr
135
 
136
#undef LANG_HOOKS_OMP_PREDETERMINED_SHARING
137
#define LANG_HOOKS_OMP_PREDETERMINED_SHARING c_omp_predetermined_sharing
138
 
139
#undef LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P
140
#define LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P c_vla_unspec_p
141
 
142
#endif /* GCC_C_OBJC_COMMON */

powered by: WebSVN 2.1.0

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