db: Use smatch_data/db/<project>.return_fixes on the mem DB
commit59597f60488187056aeab4e3c4088ec814538585
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 29 Aug 2017 21:14:13 +0000 (30 00:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 29 Aug 2017 21:14:13 +0000 (30 00:14 +0300)
tree5dc1a9f00a669c4c17ffd269d3b0de6f31d7b7d3
parent76798abca13f4b83d6ede6d9d09d112edc5d70e6
db: Use smatch_data/db/<project>.return_fixes on the mem DB

One bug which I have had several times is that I set the return_fixes but
I forget that actually the code is always parsing the function inline
instead of querying the DB.  I've fixed this bug by swapping the
return_fixes on inline functions as well.  This means I could probably
delete the code for the that from create_db.sh but I haven't yet.

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