1 /* Definitions for C language specific types.
2 Copyright (C) 2009-2013 Free Software Foundation, Inc.
4 This file is part of GCC.
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
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
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/>. */
23 #include "c-family/c-common.h"
26 struct GTY((variable_size
)) lang_type
{
27 /* In a RECORD_TYPE, a sorted array of the fields of the type. */
28 struct sorted_fields_type
* GTY ((reorder ("resort_sorted_fields"))) s
;
29 /* In an ENUMERAL_TYPE, the min and max values. */
32 /* In a RECORD_TYPE, information specific to Objective-C, such
33 as a list of adopted protocols or a pointer to a corresponding
34 @interface. See objc/objc-act.h for details. */
38 struct GTY((variable_size
)) lang_decl
{
42 /* Save and restore the variables in this file and elsewhere
43 that keep track of the progress of compilation of the current function.
44 Used for nested functions. */
46 struct GTY(()) language_function
{
47 struct c_language_function base
;
50 struct c_switch
* GTY((skip
)) x_switch_stack
;
51 struct c_arg_info
* GTY((skip
)) arg_info
;
54 int returns_abnormally
;
55 int warn_about_return_type
;
59 #endif /* ! GCC_C_LANG_H */