math: handle __builtin_constant_p() properly
commit3f99677b182fcaead2e60e8f0153cd74060d4f92
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Mar 2018 14:03:24 +0000 (23 17:03 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 26 Mar 2018 10:43:02 +0000 (26 13:43 +0300)
tree1098e6a9caa574719dc5ae5b565ede3552cec6c0
parent3c8442e46cb578e9efe3d07c387cbe65d968a038
math: handle __builtin_constant_p() properly

When I first wrote this code, I was still conflicted about whether I should
parse *all* code including dead code.  These days the answer is becoming
more clear.

So let's handle __builtin_constant_p() the way it was designed.

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