flow: pass conditional macros to MACRO_ASSIGNMENT_HOOK
commit458e494a93073e83c17b7bb3e86733f38298f991
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 22 Feb 2021 12:38:25 +0000 (22 15:38 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 22 Feb 2021 12:38:25 +0000 (22 15:38 +0300)
treed40052a495e40c3077ddb194e9a2592846d3cb02
parent3cd25eae39c2da41905eef1356cfc3ed6c0adc5d
flow: pass conditional macros to MACRO_ASSIGNMENT_HOOK

I was writing a check which looks at min_t() assignments and none of them
are recorded.  Move the after_assign: label to take care of this.

There is still a "// FIXME: got after" and I tried to address it, but it
caused crashes so I left it as is.  This works for my min_t() check...
#Lazy

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