Line data Source code
1 : /* Type information for cp/name-lookup.cc.
2 : Copyright (C) 2004-2023 Free Software Foundation, Inc.
3 :
4 : This file is part of GCC.
5 :
6 : GCC is free software; you can redistribute it and/or modify it under
7 : the terms of the GNU General Public License as published by the Free
8 : Software Foundation; either version 3, or (at your option) any later
9 : version.
10 :
11 : GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 : WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 : FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 : for more details.
15 :
16 : You should have received a copy of the GNU General Public License
17 : along with GCC; see the file COPYING3. If not see
18 : <http://www.gnu.org/licenses/>. */
19 :
20 : /* This file is machine generated. Do not edit. */
21 :
22 : void
23 4115985 : gt_ggc_mx_cp_binding_level (void *x_p)
24 : {
25 4115985 : struct cp_binding_level * const x = (struct cp_binding_level *)x_p;
26 4115985 : if (ggc_test_and_set_mark (x))
27 : {
28 2056434 : gt_ggc_m_9tree_node ((*x).names);
29 2056434 : gt_ggc_m_15vec_tree_va_gc_ ((*x).using_directives);
30 2056434 : gt_ggc_m_27vec_cp_class_binding_va_gc_ ((*x).class_shadowed);
31 2056434 : gt_ggc_m_9tree_node ((*x).type_shadowed);
32 2056434 : gt_ggc_m_9tree_node ((*x).blocks);
33 2056434 : gt_ggc_m_9tree_node ((*x).this_entity);
34 2056434 : gt_ggc_m_16cp_binding_level ((*x).level_chain);
35 2056434 : gt_ggc_m_9tree_node ((*x).statement_list);
36 : }
37 4115985 : }
38 :
39 : void
40 111752 : gt_ggc_mx_cxx_binding (void *x_p)
41 : {
42 111752 : struct cxx_binding * const x = (struct cxx_binding *)x_p;
43 111752 : if (ggc_test_and_set_mark (x))
44 : {
45 111747 : gt_ggc_m_11cxx_binding ((*x).previous);
46 111747 : gt_ggc_m_9tree_node ((*x).value);
47 111747 : gt_ggc_m_9tree_node ((*x).type);
48 111747 : gt_ggc_m_16cp_binding_level ((*x).scope);
49 : }
50 111752 : }
51 :
52 : void
53 1 : gt_ggc_mx_vec_cp_class_binding_va_gc_ (void *x_p)
54 : {
55 1 : vec<cp_class_binding,va_gc> * const x = (vec<cp_class_binding,va_gc> *)x_p;
56 1 : if (ggc_test_and_set_mark (x))
57 : {
58 1 : gt_ggc_mx (x);
59 : }
60 1 : }
61 :
62 : void
63 1 : gt_ggc_mx (struct cp_class_binding& x_r ATTRIBUTE_UNUSED)
64 : {
65 1 : struct cp_class_binding * ATTRIBUTE_UNUSED x = &x_r;
66 1 : gt_ggc_m_11cxx_binding ((*x).base);
67 1 : gt_ggc_m_9tree_node ((*x).identifier);
68 1 : }
69 :
70 : void
71 1459 : gt_pch_nx_cp_binding_level (void *x_p)
72 : {
73 1459 : struct cp_binding_level * const x = (struct cp_binding_level *)x_p;
74 1459 : if (gt_pch_note_object (x, x, gt_pch_p_16cp_binding_level))
75 : {
76 806 : gt_pch_n_9tree_node ((*x).names);
77 806 : gt_pch_n_15vec_tree_va_gc_ ((*x).using_directives);
78 806 : gt_pch_n_27vec_cp_class_binding_va_gc_ ((*x).class_shadowed);
79 806 : gt_pch_n_9tree_node ((*x).type_shadowed);
80 806 : gt_pch_n_9tree_node ((*x).blocks);
81 806 : gt_pch_n_9tree_node ((*x).this_entity);
82 806 : gt_pch_n_16cp_binding_level ((*x).level_chain);
83 806 : gt_pch_n_9tree_node ((*x).statement_list);
84 : }
85 1459 : }
86 :
87 : void
88 0 : gt_pch_nx_cxx_binding (void *x_p)
89 : {
90 0 : struct cxx_binding * const x = (struct cxx_binding *)x_p;
91 0 : if (gt_pch_note_object (x, x, gt_pch_p_11cxx_binding))
92 : {
93 0 : gt_pch_n_11cxx_binding ((*x).previous);
94 0 : gt_pch_n_9tree_node ((*x).value);
95 0 : gt_pch_n_9tree_node ((*x).type);
96 0 : gt_pch_n_16cp_binding_level ((*x).scope);
97 : }
98 0 : }
99 :
100 : void
101 0 : gt_pch_nx_vec_cp_class_binding_va_gc_ (void *x_p)
102 : {
103 0 : vec<cp_class_binding,va_gc> * const x = (vec<cp_class_binding,va_gc> *)x_p;
104 0 : if (gt_pch_note_object (x, x, gt_pch_p_27vec_cp_class_binding_va_gc_))
105 : {
106 0 : gt_pch_nx (x);
107 : }
108 0 : }
109 :
110 : void
111 0 : gt_pch_nx (struct cp_class_binding& x_r ATTRIBUTE_UNUSED)
112 : {
113 0 : struct cp_class_binding * ATTRIBUTE_UNUSED x = &x_r;
114 0 : gt_pch_n_11cxx_binding ((*x).base);
115 0 : gt_pch_n_9tree_node ((*x).identifier);
116 0 : }
117 :
118 : void
119 806 : gt_pch_p_16cp_binding_level (ATTRIBUTE_UNUSED void *this_obj,
120 : void *x_p,
121 : ATTRIBUTE_UNUSED gt_pointer_operator op,
122 : ATTRIBUTE_UNUSED void *cookie)
123 : {
124 806 : struct cp_binding_level * x ATTRIBUTE_UNUSED = (struct cp_binding_level *)x_p;
125 806 : if ((void *)(x) == this_obj)
126 806 : op (&((*x).names), NULL, cookie);
127 806 : if ((void *)(x) == this_obj)
128 806 : op (&((*x).using_directives), NULL, cookie);
129 806 : if ((void *)(x) == this_obj)
130 806 : op (&((*x).class_shadowed), NULL, cookie);
131 806 : if ((void *)(x) == this_obj)
132 806 : op (&((*x).type_shadowed), NULL, cookie);
133 806 : if ((void *)(x) == this_obj)
134 806 : op (&((*x).blocks), NULL, cookie);
135 806 : if ((void *)(x) == this_obj)
136 806 : op (&((*x).this_entity), NULL, cookie);
137 806 : if ((void *)(x) == this_obj)
138 806 : op (&((*x).level_chain), NULL, cookie);
139 806 : if ((void *)(x) == this_obj)
140 806 : op (&((*x).statement_list), NULL, cookie);
141 806 : }
142 :
143 : void
144 0 : gt_pch_p_11cxx_binding (ATTRIBUTE_UNUSED void *this_obj,
145 : void *x_p,
146 : ATTRIBUTE_UNUSED gt_pointer_operator op,
147 : ATTRIBUTE_UNUSED void *cookie)
148 : {
149 0 : struct cxx_binding * x ATTRIBUTE_UNUSED = (struct cxx_binding *)x_p;
150 0 : if ((void *)(x) == this_obj)
151 0 : op (&((*x).previous), NULL, cookie);
152 0 : if ((void *)(x) == this_obj)
153 0 : op (&((*x).value), NULL, cookie);
154 0 : if ((void *)(x) == this_obj)
155 0 : op (&((*x).type), NULL, cookie);
156 0 : if ((void *)(x) == this_obj)
157 0 : op (&((*x).scope), NULL, cookie);
158 0 : }
159 :
160 : void
161 0 : gt_pch_p_27vec_cp_class_binding_va_gc_ (ATTRIBUTE_UNUSED void *this_obj,
162 : void *x_p,
163 : ATTRIBUTE_UNUSED gt_pointer_operator op,
164 : ATTRIBUTE_UNUSED void *cookie)
165 : {
166 0 : struct vec<cp_class_binding,va_gc> * x ATTRIBUTE_UNUSED = (struct vec<cp_class_binding,va_gc> *)x_p;
167 0 : if ((void *)(x) == this_obj)
168 0 : gt_pch_nx (&((*x)), op, cookie);
169 0 : }
170 :
171 : void
172 0 : gt_pch_nx (struct cp_class_binding* x ATTRIBUTE_UNUSED,
173 : ATTRIBUTE_UNUSED gt_pointer_operator op,
174 : ATTRIBUTE_UNUSED void *cookie)
175 : {
176 0 : op (&((*x).base), NULL, cookie);
177 0 : op (&((*x).identifier), NULL, cookie);
178 0 : }
179 :
180 : /* GC roots. */
181 :
182 : EXPORTED_CONST struct ggc_root_tab gt_ggc_r_gt_cp_name_lookup_h[] = {
183 : {
184 : &extern_c_decls,
185 : 1,
186 : sizeof (extern_c_decls),
187 : >_ggc_mx_hash_table_named_decl_hash_,
188 : >_pch_nx_hash_table_named_decl_hash_
189 : },
190 : LAST_GGC_ROOT_TAB
191 : };
192 :
193 : EXPORTED_CONST struct ggc_root_tab gt_ggc_rd_gt_cp_name_lookup_h[] = {
194 : { &free_saved_scope, 1, sizeof (free_saved_scope), NULL, NULL },
195 : { &free_binding_level, 1, sizeof (free_binding_level), NULL, NULL },
196 : { &free_bindings, 1, sizeof (free_bindings), NULL, NULL },
197 : LAST_GGC_ROOT_TAB
198 : };
199 :
|