Searched refs:case_expr (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | evaluate.c | 3592 struct expression *case_expr, in check_case_type() argument 3598 if (!case_expr) in check_case_type() 3602 case_type = evaluate_expression(case_expr); in check_case_type() 3608 warn_for_different_enum_types(case_expr->pos, case_type, (*enumcase)->ctype); in check_case_type() 3610 *enumcase = case_expr; in check_case_type() 3628 if (!restricted_binop_type(SPECIAL_EQUAL, case_expr, switch_expr, in check_case_type() 3630 unrestrict(case_expr, cclass, &case_type); in check_case_type() 3636 expression_error(case_expr, "incompatible types for 'case' statement"); in check_case_type()
|
H A D | smatch_flow.c | 781 struct expression *case_expr, in get_case_rl() argument 789 if (get_value(case_to, &end) && get_value(case_expr, &start)) { in get_case_rl() 793 } else if (get_value(case_expr, &start)) { in get_case_rl()
|