extra: p++ should clear the states for *p or p->foo
commit93147a671b3aa52ad0ddf65b1ce86b504d072947
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Apr 2016 09:47:39 +0000 (14 12:47 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Apr 2016 09:47:39 +0000 (14 12:47 +0300)
tree2685297c0b49b8533b573ab2c3d2acf7702d840b
parent2cbec5ff4b0cedc67a321c14a784180afed51139
extra: p++ should clear the states for *p or p->foo

Smatch_extra.c doesn't use smatch_modification_hooks.c almost all
modifications were caught though except apparently SPECIAL_INCREMENT.

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