extra: get_implied_range_list() should handle conditions as well
commit2cec743d83f49a1b1ecd52e0cf852cad78c4e593
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Apr 2012 19:14:39 +0000 (17 22:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Apr 2012 19:14:39 +0000 (17 22:14 +0300)
treecd070dbecf7e775e0820e97441955e52df96615b
parent017627497ce77a55221da39b984da6ada5ef56a0
extra: get_implied_range_list() should handle conditions as well

In the old code, it only handled BINOPs but really that restriction wasn't
needed.  We can just remove it so that it handles conditions as well.

(I thought I had committed this change earlier.  It's needed for boolean
implication functions.)

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