flow: fake an assign statement for global initializers
commitdb02bb49e41db58c59092c19dccd6f0fe704ceec
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Sep 2018 14:25:21 +0000 (6 17:25 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Sep 2018 14:25:21 +0000 (6 17:25 +0300)
tree92008fe361f30c118eed5eda2292b9266f1770e1
parentaa48c60c200b856b231d38bc4ee6a4cc8daba727
flow: fake an assign statement for global initializers

I don't remember the actual issue here.  I think I wanted to parse the
right hand side of the global assignment and so __split_expr() does that.

I does feel like I should remove the GLOBAL_ASSIGNMENT_HOOK.  Hash tag add
that to the TODO.

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