sval: add sval_is_negative()/positive()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Nov 2012 13:22:00 +0000 (16:22 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Nov 2012 18:47:47 +0000 (21:47 +0300)
commited0c47ca12c95cd36b8610a0944a841424308770
treefbaacbd70f0ee1a08633e6c782583f49ee20788c
parente2163e3c78c81a00e896b33ea4606a7af01f8f64
sval: add sval_is_negative()/positive()

This seems like a commonly used check.

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