db: introduce the cache_db
commit0f61a4620ce0fc33b012a8e12af6b17ad32f64fd
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 22 Jun 2018 11:44:01 +0000 (22 14:44 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 22 Jun 2018 11:44:01 +0000 (22 14:44 +0300)
tree461e6572bec841369c74ee40bd7b4f1dde3cce98
parent632417bd0af600196fe8bca05e06f61d6b8d6314
db: introduce the cache_db

The point of this is that say you want to record some information about
a how a type is used in a file, instead of recording over and over you
can record it in the cache_db.  You'd put restrictions against duplicate
rows or whatever.  Then it's written after we finish parsing the file.

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