extra: handle code like foo = &bar->x.y.z; foo->a = 1;
commit72db6553d817da6aa3712d22605d407954177ec7
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Jan 2015 10:00:27 +0000 (9 13:00 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Jan 2015 10:00:27 +0000 (9 13:00 +0300)
treebb31c32a4bd1cb557578a09cc403b8a317c8bd83
parent29fea2de3a0cbae65bc8b7de2b8d8e9acbaddd97
extra: handle code like foo = &bar->x.y.z; foo->a = 1;

It's quite common to use a pointer to an address to make the lines shorter
and the code easier to read.  This patch handles that.

We look up the long way of saying the variable and set that as well.

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