Home | History | Annotate | Download | only in lint1

Lines Matching refs:tn

54 is_int_constant_zero(const tnode_t *tn, tspec_t t)
56 return t == INT && tn->tn_op == CON && tn->u.value.u.integer == 0;
187 is_typeok_bool_compares_with_zero(const tnode_t *tn, bool is_do_while)
189 while (tn->tn_op == COMMA)
190 tn = tn->u.ops.right;
191 tn = before_conversion(tn);
193 return tn->tn_type->t_tspec == BOOL
194 || tn->tn_op == BITAND
195 || (is_do_while && is_int_constant_zero(tn, tn->tn_type->t_tspec))
196 || (tn->tn_sys && is_scalar(tn->tn_type->t_tspec));