extra: don't use the indirect_modification_hook
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 17 Apr 2013 15:59:20 +0000 (18:59 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 17 Apr 2013 15:59:20 +0000 (18:59 +0300)
commit8c3c49c6d799a38ef632f6b6939f0312aa3c805b
tree606be6d08112e21cbf1a698797f0014ad1ba6906
parente61003a7dd166afd1ee0959dfdf4ffd112a7a0a0
extra: don't use the indirect_modification_hook

The problem here is that when you have:

some_function(&bar);

It would reset all the members of bar, but really smatch_db.c should handle
that.  Really smatch_modification_hooks.c isn't the right idea.  Smatch
extra already has all this information and everything should be built
around that.

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