type: introduce is_void_pointer() and is_char_pointer()
commitd63d438f90608f313c079c25fb5ab1282acee4ca
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Feb 2013 07:12:18 +0000 (1 10:12 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Feb 2013 07:12:18 +0000 (1 10:12 +0300)
treec78d17a998ac19034680f18cbfe31d86bcdc144d
parent0c8e16241cd879865d7e855d224eb66d8bd304c5
type: introduce is_void_pointer() and is_char_pointer()

You pass it an expression and it tells you if the expression is a void
pointer.

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