X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=entity_t.h;h=0e5c0d2dbdda02b484838e659ee8c58befe090da;hb=42e9d19f816a47115767a727e8a0c25ba49262cc;hp=401b8b6c013077e45b5a144b78d20c55d8bc208d;hpb=911636db3ac676ff861f72277f68e0e2e0d2c3d6;p=cparser diff --git a/entity_t.h b/entity_t.h index 401b8b6..0e5c0d2 100644 --- a/entity_t.h +++ b/entity_t.h @@ -91,6 +91,7 @@ typedef enum decl_modifier_t { DM_RETURNS_TWICE = 1 << 25, DM_MALLOC = 1 << 26, DM_WEAK = 1 << 27, + DM_LEAF = 1 << 28, } decl_modifier_t; typedef enum elf_visibility_tag_t { @@ -308,7 +309,7 @@ static inline bool is_declaration(const entity_t *entity) const char *get_entity_kind_name(entity_kind_t kind); -entity_t *allocate_entity_zero(entity_kind_t, entity_namespace_t, symbol_t*); +entity_t *allocate_entity_zero(entity_kind_t, entity_namespace_t, symbol_t*, source_position_t const*); elf_visibility_tag_t get_elf_visibility_from_string(const char *string);