Home
last modified time | relevance | path

Searched refs:t_enum (Results 1 – 7 of 7) sorted by relevance

/netbsd/usr.bin/xlint/common/
H A Dtyname.c209 if (tp->t_enum->en_tag->s_name == unnamed && in type_name_of_enum()
210 tp->t_enum->en_first_typedef != NULL) { in type_name_of_enum()
212 buf_add(buf, tp->t_enum->en_first_typedef->s_name); in type_name_of_enum()
214 buf_add(buf, tp->t_enum->en_tag->s_name); in type_name_of_enum()
/netbsd/usr.bin/xlint/lint1/
H A Dfunc.c460 tn->tn_type->t_enum == cs->c_switch_type->t_enum) in check_case_label_enum()
691 tp->t_enum = tn->tn_type->t_enum; in stmt_switch_expr()
726 lint_assert(cstmt->c_switch_type->t_enum != NULL); in stmt_switch_expr_stmt()
727 for (esym = cstmt->c_switch_type->t_enum->en_first_enumerator; in stmt_switch_expr_stmt()
H A Ddecl.c176 return tp->t_enum->en_incomplete; in is_incomplete()
415 if (t == ENUM && tp->t_enum->en_first_typedef == NULL) in set_first_typedef()
416 tp->t_enum->en_first_typedef = sym; in set_first_typedef()
1647 tp->t_enum = block_zero_alloc(sizeof(*tp->t_enum), in make_tag_type()
1649 tp->t_enum->en_tag = tag; in make_tag_type()
1650 tp->t_enum->en_incomplete = true; in make_tag_type()
1721 tp->t_enum->en_incomplete = false; in complete_enum()
1722 tp->t_enum->en_first_enumerator = first_enumerator; in complete_enum()
2236 return tp1->t_enum == tp2->t_enum; in types_compatible()
H A Demit1.c122 outtt(tp->t_enum->en_tag, tp->t_enum->en_first_typedef); in outtype()
H A Dlint1.h190 #define t_enum t_u._t_enum macro
H A Ddebug.c140 for (const sym_t *en = tp->t_enum->en_first_enumerator; in debug_type_details()
H A Dtree.c1057 const sym_t *ec = rtp->t_enum->en_first_enumerator; in check_enum_array_index()
3085 if (ln->tn_type->t_enum != rn->tn_type->t_enum) { in check_enum_type_mismatch()