flow: introduce outside_of_function() to fix global initializer handling
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 Oct 2013 12:53:59 +0000 (15:53 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 Oct 2013 12:53:59 +0000 (15:53 +0300)
commit8680ac3160a9618be0d576002f1a99b8e8b744f3
tree1c1beb06f13f9624bd1a93e2067c970f0a389ba5
parent2fd0e2acaeb958c6035efbd7afc6e1b61a7f3335
flow: introduce outside_of_function() to fix global initializer handling

These days we do more faking assignments for global initializers.  This is
an easier API to use.  But it means that sometimes we need to know when we
are outside of a function so we can ignore those cases.

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