rosenberg: handle struct to struct assignments
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Jun 2014 15:20:08 +0000 (18:20 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Jun 2014 15:20:08 +0000 (18:20 +0300)
commitb74753310d84c818aed32f14750c88592f687a36
treebbf04c8d700b71ba219c4c0a6c600a906d4dfe5b
parent47e96aa6de098417f9b95447443321ad2851f4e2
rosenberg: handle struct to struct assignments

Say you have:

struct foo one = two;

That clears out all the holes in one.  Also the smatch_struct_assignment.c
code creates fake struct assignments for copy functions so this is even
more important than it might seem at first.

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