Lines Matching defs:attr

574 #include "gcc-attr-list.h"
722 struct decl_state attr = { };
726 token = handle_attributes(token, &attr);
767 attr.ctype.base_type = sym;
768 token = handle_attributes(token, &attr);
769 apply_ctype(token->pos, &sym->ctype, &attr.ctype);
770 sym->packed = attr.packed;
1083 static struct token *ignore_attribute(struct token *token, struct symbol *attr, struct decl_state *ctx)
1091 static struct token *attribute_packed(struct token *token, struct symbol *attr, struct decl_state *ctx)
1100 static struct token *attribute_aligned(struct token *token, struct symbol *attr, struct decl_state *ctx)
1130 static struct token *attribute_modifier(struct token *token, struct symbol *attr, struct decl_state *ctx)
1132 apply_mod(&token->pos, &ctx->ctype.modifiers, attr->ctype.modifiers);
1136 static struct token *attribute_function(struct token *token, struct symbol *attr, struct decl_state *ctx)
1138 apply_mod(&token->pos, &ctx->f_modifiers, attr->ctype.modifiers);
1142 static struct token *attribute_bitwise(struct token *token, struct symbol *attr, struct decl_state *ctx)
1145 attribute_modifier(token, attr, ctx);
1159 static struct token *attribute_address_space(struct token *token, struct symbol *attr, struct decl_state *ctx)
1253 static struct token *attribute_mode(struct token *token, struct symbol *attr, struct decl_state *ctx)
1269 static struct token *attribute_context(struct token *token, struct symbol *attr, struct decl_state *ctx)
1294 static struct token *attribute_designated_init(struct token *token, struct symbol *attr, struct decl_state *ctx)
1303 static struct token *attribute_transparent_union(struct token *token, struct symbol *attr, struct decl_state *ctx)
1333 struct symbol *attr = lookup_keyword(token->ident, NS_KEYWORD);
1334 if (attr && attr->op->attribute)
1335 token = attr->op->attribute(token->next, attr, ctx);
1387 static struct token *attribute_force(struct token *token, struct symbol *attr, struct decl_state *ctx)