Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Devaluate.c3595 struct symbol *switch_type, *case_type; in check_case_type() local
3602 case_type = evaluate_expression(case_expr); in check_case_type()
3604 if (!switch_type || !case_type) in check_case_type()
3608 warn_for_different_enum_types(case_expr->pos, case_type, (*enumcase)->ctype); in check_case_type()
3609 else if (is_enum_type(case_type)) in check_case_type()
3614 cclass = classify_type(case_type, &case_type); in check_case_type()
3629 cclass, sclass, case_type, switch_type)) { in check_case_type()
3630 unrestrict(case_expr, cclass, &case_type); in check_case_type()