Handle more comparisons than just (foo == 0) and (foo != 0).
commitde255ed706faa4c5373a54fb0fa227815d07ebea
authorDan Carpenter <error27@gmail.com>
Mon, 9 Mar 2009 07:29:29 +0000 (9 10:29 +0300)
committerDan Carpenter <error27@gmail.com>
Mon, 9 Mar 2009 07:29:29 +0000 (9 10:29 +0300)
tree832eb7d47d857315e029750bd8410c1a695402f7
parentbdcc928d2f1e501f53cef94881efd70419c64426
Handle more comparisons than just (foo == 0) and (foo != 0).

The main one I was concerned with was:
if (x) {
    ...
    err = -ENOMEM;
}
if (err < 0)
     return;

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch.h
smatch_extra.c
smatch_implied.c