type_val: speed up type_val cache
commit988cd19c4c23985229b60f53ae5a01e96a9df8c3
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Oct 2020 09:08:27 +0000 (23 12:08 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Oct 2020 09:08:27 +0000 (23 12:08 +0300)
treed5d75538acf480302d79d7c17b27007611f58d32
parent690460d76ea035c1d548fe0eb275554d8ba4dc6b
type_val: speed up type_val cache

I was trying to speed up the type_val cache.  I'm not sure this actually
helps but it can't hurt.  I made the cache slightly larger.  Also
originally it was cleared after parsing each inline but now it is saved
until the end of the caller function.

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