auto_copy: assignments copies states automatically
commitc6cd419e8c8cb1a71a905da07ac0c1d0c7ff49b1
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 Oct 2014 15:14:53 +0000 (21 18:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 Oct 2014 15:14:53 +0000 (21 18:14 +0300)
treeb5eb573bbf9288204d49e820a67487262df4e4ef
parent8704b2927b73977921ba7b95b3b28b30e260c83c
auto_copy:  assignments copies states automatically

I've been wanting to do this for a while.  If you have a variable "bar"
with some state and "foo = bar;" then sometimes you want foo to get the
state as well.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Makefile
check_list.h
smatch.h
smatch_auto_copy.c [new file with mode: 0644]