smatch_expressions: introduce deref_expression()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 23 Jan 2013 12:28:38 +0000 (15:28 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 23 Jan 2013 12:28:38 +0000 (15:28 +0300)
commit23b4956a03d2025871e4d180f2e72dd7ef02614f
tree48c85b99e63b7cf3ecadc3f1982ca3427b99c107
parent7da8ad847a083ee962a458a736c4c33e96690b4c
smatch_expressions: introduce deref_expression()

You give it the expression for "p" and it gives you "*p".

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