modification_hooks: use the DB for frob(&foo);
commit899d21a98dbbedc23e9ed3457c534bde34052fcf
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 18 Oct 2018 09:48:42 +0000 (18 12:48 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 18 Oct 2018 09:48:42 +0000 (18 12:48 +0300)
tree81b22a0b2e582fc6b3199d657aa3fd7ae1b658b1
parent55ccda57579bcbbcc5bc510936091597223201df
modification_hooks: use the DB for frob(&foo);

Say we have a function call "frob(&foo);" then in the old code, it would
just mark foo.bar as modified instead of considering what the DB had to
say about things.

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