X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=entity_t.h;h=bf061b7142490974ec6dfb5a4656ef27265ab01c;hb=500b42e579d745de73c781479ed0f90b8e1d45cf;hp=c0142ea078c7a406cf68b041071d0ef4750a661c;hpb=bc20f75554ba62fcbea337664cae66243ba974b4;p=cparser diff --git a/entity_t.h b/entity_t.h index c0142ea..bf061b7 100644 --- a/entity_t.h +++ b/entity_t.h @@ -91,6 +91,7 @@ typedef enum decl_modifier_t { DM_DEPRECATED = 1 << 24, DM_RETURNS_TWICE = 1 << 25, DM_MALLOC = 1 << 26, + DM_WEAK = 1 << 27, } decl_modifier_t; /** @@ -114,6 +115,7 @@ struct entity_base_t { source_position_t source_position; scope_t *parent_scope; /**< The scope where this entity is contained in */ + entity_t *parent_entity; /** next declaration in a scope */ entity_t *next; @@ -245,6 +247,8 @@ typedef enum builtin_kind_t { bk_none = 0, /**< no builtin */ bk_gnu_builtin_alloca, /**< GNU __builtin_alloca */ bk_gnu_builtin_huge_val, /**< GNU __builtin_huge_val */ + bk_gnu_builtin_huge_valf, /**< GNU __builtin_huge_valf */ + bk_gnu_builtin_huge_vall, /**< GNU __builtin_huge_vall */ bk_gnu_builtin_inf, /**< GNU __builtin_inf */ bk_gnu_builtin_inff, /**< GNU __builtin_inff */ bk_gnu_builtin_infl, /**< GNU __builtin_infl */ @@ -305,8 +309,8 @@ struct function_t { /* ast2firm info */ ir_entity *irentity; - ir_node *static_link; /**< if need_closure is set, the node representing - the static link. */ + ir_node *static_link; /**< if need_closure is set, the node + representing the static link. */ }; union entity_t {