states: introduce __set_fake_cur_slist_fast()
commit18a761eb8fb3c779a69133f6a2d8404f02426875
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 14:23:00 +0000 (12 17:23 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 14:23:00 +0000 (12 17:23 +0300)
tree15b1bf9f61051fcb132962cccbe49e5ede8ba2db
parent27c775dda149cfae9678d5d062bd81fc7893ec8e
states: introduce __set_fake_cur_slist_fast()

This is like __set_fake_cur_slist() but it doesn't do any cloning and it's
trickier to use.  The rule is that you can't write to the cur_slist when
you are using this.  So get_implied_value() for example writes to the
cur_slist() and that would cause a warning message and a bug.

I have changed my stuff to use this and since I don't need
__set_fake_cur_slist() any longer, I have removed it.

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