db: print all return values at end of function
commit7339cbd9fc478f4082d1661148344a7ef70575ef
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Apr 2012 15:49:36 +0000 (13 18:49 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Apr 2012 15:49:36 +0000 (13 18:49 +0300)
tree29de168963a08cc31fc59886ce77528bdf8567df
parent81951aab7302308bfd172c4cccb08d5771abcf1c
db: print all return values at end of function

The current code prints the return range whenever we come to a return
statement.  But sometimes we just want to know what the return values are
that the function returns.  That's what this change does.  It combines a
list of all the return ranges and prints out the possible return values
at the end of the function.

It looks like:
fs/ntfs/super.c:541 ntfs_remount() info: function_return_values '(-30),(-22),0'

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