db: pass &foo type parameter information to called functions
commit30eaa1cfb9290dd661cb25869e5f511ecf54604c
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Dec 2011 07:57:52 +0000 (8 10:57 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Dec 2011 07:57:52 +0000 (8 10:57 +0300)
tree3fffe85554c280681b3f7e6280160369b682a144
parentc5dbd56a7ff911994aabcae17cc0eab139d2891a
db: pass &foo type parameter information to called functions

If you have a struct declared on the stack, and you pass the address then
the information about that was getting lost before.  But with this patch
passing &foo means that the information about foo.bar gets translated as
$$->bar and passed properly.

In the long term, Smatch needs to move to using memory locations instead of
names like this.

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