db, function_hooks: query the db after processing the inline not before
commitc3b956e6918dc2a48b186c4ef8e8fad284733584
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 21 Feb 2013 11:20:55 +0000 (21 14:20 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 21 Feb 2013 11:20:55 +0000 (21 14:20 +0300)
treebe6842743248880c43e9d535261f8b4ad21ba7df
parent4426622c74ba7c123657fa0effb34b895f0807e7
db, function_hooks: query the db after processing the inline not before

The select needs to happen after the parse_inline().  Btw, the validation
test was almost working before because for assign statements we actually
do this work twice.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_flow.c
smatch_function_hooks.c
smatch_hooks.c
validation/sm_inline1.c