type: handle strings better
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 28 Jan 2013 06:34:10 +0000 (09:34 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 28 Jan 2013 06:34:10 +0000 (09:34 +0300)
commita803618b1f49564ab7e82e65a4d4c3b2b63892db
tree09b15ee9fcd89fa7104c399fe8563bd1ccd5270a
parent69506eac003d5f1b0fd59de75b72631fdbbded28
type: handle strings better

Add EXPR_STRING to get_type.  Also if it's a const string pointer then I
don't want is_pointer() to return turn.

The is_pointer() function is poorly named.  It wants to know if the pointer
is an lvalue.

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