db: add return_values table
commit5c4505d03ad54cffa604bb49fcb827e6c32bcd4d
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Aug 2012 06:24:19 +0000 (14 09:24 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Aug 2012 06:24:19 +0000 (14 09:24 +0300)
tree4ce0fe000c95f1adfad156503c7b61c8e8b84081
parent6cda34e321e6766633b0d75948387e291d17a546
db: add return_values table

Return values stores all the possible return values for a function.  In
other words it there is one entry per function which is the union of all
the return values.

We already print this information, but the old code used to collect the
return values separately and do a union on that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_db.c
smatch_scripts/db/fill_db_return_values.pl [new file with mode: 0755]
smatch_scripts/db/return_values.schema [new file with mode: 0644]