type: introduce type_to_str()
commit7e447e59909e9af329e5d8d10def07f3c6e4b978
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 11 Sep 2014 11:29:59 +0000 (11 14:29 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 11 Sep 2014 11:29:59 +0000 (11 14:29 +0300)
tree9214e7f6c25c3e6994902366a7a0fd2bfdc4fb69
parent229d8131e70249bb3905978ab4425a5929a82795
type: introduce type_to_str()

You give it a symbol a it returns "int" or "struct foo*" depending on the
type of the symbol.

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