modification_hooks: handle PARAM_SET earlier
commit80625d8b6dc06ae71b49cd805eaf77f6e701a33d
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 31 Oct 2017 11:16:24 +0000 (31 14:16 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 31 Oct 2017 11:16:24 +0000 (31 14:16 +0300)
tree57ceeedfa58c87895f7590e3c1a1bc1d37573f0c
parentd362bf72fb0ae38d62b9718d35f365ab00621d70
modification_hooks: handle PARAM_SET earlier

Really, we normally want modification hooks to run pretty early so that
they clear the state and then we can overwrite it with good data if needed.

This affects some new code check_assigned_expression.c because we are going
to start using PARAM_SET there.

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