states: introduce has_states()
commit40e1ecb986614693cbfea5336e0087a603d28ef0
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Oct 2020 10:36:35 +0000 (23 13:36 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Oct 2020 10:36:35 +0000 (23 13:36 +0300)
treee01e43634b3dc870e6500872f25330c64bb098a2
parent7e809560299ebb387cd361322d038363125b66b6
states: introduce has_states()

Sometimes it might be nice to know if we have any states set.  It turns
out that my first user for this wasn't valid so I don't have a user ready
right now but I've often thought this would be useful.

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