sval: use typed version of parse_value_ranges() throughout
commitb6a1d28027520921f1c36e198d6efb0c000eb535
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 13 Nov 2012 11:20:14 +0000 (13 14:20 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 13 Nov 2012 11:20:14 +0000 (13 14:20 +0300)
treed36ac784a6822f28c4af20b12034cb0175afbfcb
parenta24a608dc06d13594292951d1a02821d1854c0e7
sval: use typed version of parse_value_ranges() throughout

I made parse_value_ranges_type() fall back to &llong_ctype if we don't know
the type.  Which is possible, and I don't know a better way to handle that.

I removed the old unused parse_value_range().

In smatch_function hooks we sometimes use parse_value_ranges_type() to get
the ranges on the right hand side of the assignment but we should as well
cast the values before setting the left hand state.  I've done that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_absolute.c
smatch_db.c
smatch_extra.h
smatch_function_hooks.c
smatch_project.c
smatch_ranges.c