2 TYPE_QUALIFIER_NONE = 0,
3 TYPE_QUALIFIER_CONST = 1 << 0,
4 TYPE_QUALIFIER_RESTRICT = 1 << 1,
5 TYPE_QUALIFIER_VOLATILE = 1 << 2,
8 typedef unsigned int type_qualifiers_t;
10 typedef struct source_position_t source_position_t;
11 struct source_position_t {
12 const char *input_name;
16 typedef struct ir_type ir_type;
26 type_qualifiers_t qualifiers;
27 source_position_t source_position;
31 typedef struct type_base_t type_base_t;
37 static const type_base_t error = { TYPE_ERROR, TYPE_QUALIFIER_NONE, { NULL, 0 }, NULL };