#include "builtins.h"
typedef enum {
- ENTITY_INVALID,
- ENTITY_VARIABLE,
+ ENTITY_VARIABLE = 1,
ENTITY_COMPOUND_MEMBER,
ENTITY_PARAMETER,
ENTITY_FUNCTION,
typedef unsigned char entity_kind_t;
typedef enum namespace_tag_t {
- NAMESPACE_INVALID,
- NAMESPACE_NORMAL,
+ NAMESPACE_NORMAL = 1,
NAMESPACE_TAG,
NAMESPACE_LABEL
} namespace_tag_t;
declaration_t base;
il_size_t offset; /**< the offset of this member in the compound */
unsigned char bit_offset; /**< extra bit offset for bitfield members */
+ unsigned char bit_size; /**< bitsize for bitfield members */
+ bool bitfield : 1; /**< member is (part of) a bitfield */
bool read : 1;
bool address_taken : 1; /**< Set if the address of this
declaration was taken. */