Home
last modified time | relevance | path

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

/netbsd-src/usr.bin/xlint/lint1/
H A Dfunc.c420 if (!(tn->tn_type->t_is_enum || cs->c_switch_type->t_is_enum)) in check_case_label_enum()
422 if (tn->tn_type->t_is_enum && cs->c_switch_type->t_is_enum && in check_case_label_enum()
569 error(333, tn->tn_type->t_is_enum ? type_name(tn->tn_type) in check_controlling_expression()
641 if ((tp->t_is_enum = tn->tn_type->t_is_enum) != false) in stmt_switch_expr()
670 if (cstmt->c_switch_type->t_is_enum) { in stmt_switch_expr_stmt()
697 (hflag && cstmt->c_switch_type->t_is_enum && in stmt_switch_expr_stmt()
H A Ddebug.c177 if (tp->t_is_enum) { in debug_type_details()
433 if (sym->s_type != NULL && sym->s_type->t_is_enum) in debug_sym()
H A Dtree.c1401 if (rn->tn_op != CVT || !rn->tn_type->t_is_enum) in is_assignment()
3333 ((ln->tn_type->t_is_enum && rn->tn_type->t_tspec == PTR) || in convert_integer_from_floating()
3334 (rn->tn_type->t_is_enum && ln->tn_type->t_tspec == PTR))) { in convert_integer_from_floating()
3389 if (!rn->tn_type->t_is_enum && rn->tn_op == CON &&
3420 (ltp->t_is_enum || (mp->m_binary && rtp->t_is_enum))) {
3423 (ltp->t_is_enum && rtp != NULL && rtp->t_is_enum)) { in can_represent()
3426 (ltp->t_is_enum || (rtp != NULL && rtp->t_is_enum))) { in can_represent()
[all...]
H A Demit1.c104 if ((ts = tp->t_tspec) == INT && tp->t_is_enum) in outtype()
H A Dlint1.h148 bool t_is_enum:1;
142 bool t_is_enum:1; global() member
H A Ddecl.c1693 tp->t_is_enum = true; in has_named_member()
/netbsd-src/usr.bin/xlint/lint2/
H A Dlint2.h45 bool t_is_enum:1; member
H A Dchk.c498 !arg1->t_is_enum && !arg2->t_is_enum) { in chkau()
1243 if (tp1->t_is_enum && tp2->t_is_enum) { in types_compatible()
H A Demit2.c61 if (ts == INT && tp->t_is_enum) in outtype()
H A Dread.c713 tp->t_is_enum = true; in inptype()
/netbsd-src/usr.bin/xlint/common/
H A Dtyname.c258 if ((t = tp->t_tspec) == INT && tp->t_is_enum) in type_name()