Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_leaks.c47 static void set_parent(struct expression *expr, struct smatch_state *state);
156 static void set_parent(struct expression *expr, struct smatch_state *state) in set_parent() function
166 set_parent(expr->cond_true, state); in set_parent()
167 set_parent(expr->cond_false, state); in set_parent()
186 set_parent(tmp, &ok); in match_function_call()
223 set_parent(right, &ok); in match_assign()
243 set_parent(ret_value, &ok); in match_return()
H A Dsmatch_helper.c733 static struct expression *strip_expr_helper(struct expression *expr, bool set_parent) in strip_expr_helper() argument
741 if (set_parent) in strip_expr_helper()
746 return strip_expr_helper(expr->cast_expression, set_parent); in strip_expr_helper()
752 if (set_parent) in strip_expr_helper()
760 unop = strip_expr_helper(expr->unop, set_parent); in strip_expr_helper()
768 return strip_expr_helper(unop->unop, set_parent); in strip_expr_helper()
779 if (set_parent) in strip_expr_helper()
781 return strip_expr_helper(expr->cond_true, set_parent); in strip_expr_helper()
783 if (set_parent) in strip_expr_helper()
785 return strip_expr_helper(expr->conditional, set_parent); in strip_expr_helper()
[all …]