type: handle SYM_NODE better in get_pointer_type()
commit056a2882264b94e663b89916425d7fe530e4259e
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 15 Dec 2014 10:03:49 +0000 (15 13:03 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 15 Dec 2014 10:03:49 +0000 (15 13:03 +0300)
tree519cd4935e127fa1938a4dba977ad5b3ce034275
parent0b52a5f7479d384fa2b79175964f82cf1e1bedb6
type: handle SYM_NODE better in get_pointer_type()

There were some function pointers where we couldn't get the struct type
correct and it was causing bugs.

The truth is that I don't totally understand how SYM_NODE is supposed to
work...  This feels like a hack.

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