extra: pass the modified expression to extra_mod_hooks (if easy)
commit8b71afc86849612235cec149df0801b1093733ed
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 7 Dec 2017 10:12:22 +0000 (7 13:12 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 7 Dec 2017 10:12:22 +0000 (7 13:12 +0300)
tree4dc0c9d894b87925dc5fb34c2c56d2a94ef1231c
parentebb62de1eb6529246b88422c10ad01f08dabf411
extra: pass the modified expression to extra_mod_hooks (if easy)

It's probably more ideal to pass the modified expression to extra_mod_hooks
than to pass the name/sym.  The problem is that for the DB then we don't
have a expression.  The solution is to pass what we have.  It is a lazy and
less than ideal way to go.  But it's sort of the Smatch philosophy to use
the information that we have instead of bemoaning that everything is not
perfect...

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_equiv.c
smatch_extra.c
smatch_extra.h
smatch_function_hooks.c