Let is_constant_expression() and friends return an enum so constant expressions can...
[cparser] / entity_t.h
index 02bb014..c9670f0 100644 (file)
@@ -157,7 +157,7 @@ struct enum_value_t {
        type_t        *enum_type;
 
        /* ast2firm info */
-       tarval        *tv;
+       ir_tarval     *tv;
 };
 
 struct label_t {
@@ -200,10 +200,11 @@ struct declaration_t {
 
 struct compound_member_t {
        declaration_t  base;
-       bool           read          : 1;
-       bool           address_taken : 1;  /**< Set if the address of this declaration was taken. */
-       unsigned short offset;     /**< the offset of this member in the compound */
+       il_size_t      offset;     /**< the offset of this member in the compound */
        unsigned char  bit_offset; /**< extra bit offset for bitfield members */
+       bool           read          : 1;
+       bool           address_taken : 1;  /**< Set if the address of this
+                                               declaration was taken. */
 
        /* ast2firm info */
        ir_entity *entity;