assigned_expr: introduce get_assigned_expr_recurse()
commit7938912d447f2cad1c4072b316c4e4168947d890
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 19 Nov 2020 12:09:18 +0000 (19 15:09 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 19 Nov 2020 12:09:18 +0000 (19 15:09 +0300)
tree26f152b1c9e0c9aecb33c0a5c13e29905b56cc1e
parent040a131d2ca787e3daef226de8f9356f2c04bf0a
assigned_expr: introduce get_assigned_expr_recurse()

Quite a few checks recursively call get_assigned_expr() so this is just
a helper function that can be used instead.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_assigned_expr.c