chunk: change the API a bit
commit73b9284c524ffd7e5674de553d08370fadb376f8
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 11 Jul 2015 17:17:00 +0000 (11 20:17 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Sat, 11 Jul 2015 17:17:00 +0000 (11 20:17 +0300)
treee3262236699eac958461660e440ae82245ccdcf2
parent5ae9382647c69a3e8d0e3df05b15fb2bbe9d7961
chunk: change the API a bit

There are two ways we can call expr_to_chunk.  First if we have a new chunk
and second if we are looking up an old value.  I have some ideas for how
both of them could work in the future but the main thing here is that I
wanted to tie the vsl in with the get chunk instead of doing it as a
separate call.  They are closely related actions.

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