Lines Matching refs:type
105 tree cstr, elem, index, type; in build_const_char_string() local
110 type = build_array_type(elem, index); in build_const_char_string()
111 TREE_TYPE(cstr) = type; in build_const_char_string()
118 static inline void __add_type_attr(tree type, const char *attr, tree args) in __add_type_attr() argument
122 if (type == NULL_TREE) in __add_type_attr()
124 oldattr = lookup_attribute(attr, TYPE_ATTRIBUTES(type)); in __add_type_attr()
130 TYPE_ATTRIBUTES(type) = copy_list(TYPE_ATTRIBUTES(type)); in __add_type_attr()
131 TYPE_ATTRIBUTES(type) = tree_cons(get_identifier(attr), args, TYPE_ATTRIBUTES(type)); in __add_type_attr()
134 static inline void add_type_attr(tree type, const char *attr, tree args) in add_type_attr() argument
136 tree main_variant = TYPE_MAIN_VARIANT(type); in add_type_attr()
138 __add_type_attr(TYPE_CANONICAL(type), attr, args); in add_type_attr()
142 for (type = TYPE_NEXT_VARIANT(main_variant); type; type = TYPE_NEXT_VARIANT(type)) { in add_type_attr()
143 if (!lookup_attribute(attr, TYPE_ATTRIBUTES(type))) in add_type_attr()
144 TYPE_ATTRIBUTES(type) = TYPE_ATTRIBUTES(main_variant); in add_type_attr()
146 __add_type_attr(TYPE_CANONICAL(type), attr, args); in add_type_attr()