Home
last modified time | relevance | path

Searched refs:t_is_enum (Results 1 – 12 of 12) sorted by relevance

/netbsd/usr.bin/xlint/lint1/
H A Dfunc.c457 if (!(tn->tn_type->t_is_enum || cs->c_switch_type->t_is_enum)) in check_case_label_enum()
459 if (tn->tn_type->t_is_enum && cs->c_switch_type->t_is_enum && in check_case_label_enum()
611 error(333, tn->tn_type->t_is_enum ? type_name(tn->tn_type) in check_controlling_expression()
690 if ((tp->t_is_enum = tn->tn_type->t_is_enum) != false) in stmt_switch_expr()
720 if (cstmt->c_switch_type->t_is_enum) { in stmt_switch_expr_stmt()
749 (hflag && cstmt->c_switch_type->t_is_enum && in stmt_switch_expr_stmt()
H A Dckbool.c228 tn->tn_left->tn_type->t_is_enum && in is_typeok_bool_compares_with_zero()
229 tn->tn_right->tn_type->t_is_enum) in is_typeok_bool_compares_with_zero()
H A Ddebug.c138 if (tp->t_is_enum) { in debug_type_details()
373 if (sym->s_type != NULL && sym->s_type->t_is_enum) in debug_sym()
H A Dtree.c1051 if (rn->tn_op != CVT || !rn->tn_type->t_is_enum) in check_enum_array_index()
3070 ((ln->tn_type->t_is_enum && rn->tn_type->t_tspec == PTR) || in check_bad_enum_operation()
3071 (rn->tn_type->t_is_enum && ln->tn_type->t_tspec == PTR))) { in check_bad_enum_operation()
3128 if (!rn->tn_type->t_is_enum && rn->tn_op == CON && in check_enum_int_mismatch()
3159 (ltp->t_is_enum || (mp->m_binary && rtp->t_is_enum))) { in typeok_enum()
3162 (ltp->t_is_enum && rtp != NULL && rtp->t_is_enum)) { in typeok_enum()
3165 (ltp->t_is_enum || (rtp != NULL && rtp->t_is_enum))) { in typeok_enum()
4252 arg->tn_left->tn_type->t_is_enum && in check_function_arguments()
H A Demit1.c108 if ((ts = tp->t_tspec) == INT && tp->t_is_enum) in outtype()
H A Dlint1.h173 bool t_is_enum:1; member
H A Ddecl.c1646 tp->t_is_enum = true; in make_tag_type()
/netbsd/usr.bin/xlint/lint2/
H A Dlint2.h45 bool t_is_enum:1; member
H A Dchk.c490 !arg1->t_is_enum && !arg2->t_is_enum) { in chkau()
1231 if (tp1->t_is_enum && tp2->t_is_enum) { in types_compatible()
H A Demit2.c63 if (ts == INT && tp->t_is_enum) in outtype()
H A Dread.c714 tp->t_is_enum = true; in inptype()
/netbsd/usr.bin/xlint/common/
H A Dtyname.c248 if ((t = tp->t_tspec) == INT && tp->t_is_enum) in type_name()