expressions: new file smatch_expressions.c
commit71a1da82a0290cd5dcf3ea57e6e9759da088b93a
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 27 Feb 2012 13:19:19 +0000 (27 16:19 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 27 Feb 2012 19:29:07 +0000 (27 22:29 +0300)
treea4242916357088a0bdbe9993467bbd9020e27e6c
parentfe21a76f324048e12b4dc69690082b19827ec72d
expressions: new file smatch_expressions.c

This is probably mostly going to hold zero_expr() and value_expr().  It
returns a an expression struct of EXPR_VALUE.  I'm trying to move more and
more to using expressions as a basic type.  So instead of passing values
around we'll pass expressions around.  Then the lower layers can use
get_implied_range_list() instead of everything being one value only.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Makefile
smatch_expressions.c [new file with mode: 0644]
smatch_extra.h