Home
last modified time | relevance | path

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

/third_party/ltp/tools/sparse/sparse-src/
H A Devaluate.c3809 struct symbol *switch_type, *case_type; in check_case_type() local
3816 case_type = evaluate_expression(case_expr); in check_case_type()
3818 if (!switch_type || !case_type) in check_case_type()
3822 warn_for_different_enum_types(case_expr->pos, case_type, (*enumcase)->ctype); in check_case_type()
3823 else if (is_enum_type(case_type)) in check_case_type()
3828 cclass = classify_type(case_type, &case_type); in check_case_type()
3843 cclass, sclass, case_type, switch_type)) { in check_case_type()
3844 unrestrict(case_expr, cclass, &case_type); in check_case_type()

Completed in 5 milliseconds