helper: print arrays better
commitae50e064cf42f8474da194a079a3b63c2b3d41ec
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Oct 2017 14:07:29 +0000 (4 17:07 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Oct 2017 14:07:29 +0000 (4 17:07 +0300)
treefc993a80d6596eb4c3c0ca8716cac082f9012904
parenta725d91921bdcd62ca9e4ca903e824098d3fc8f5
helper: print arrays better

When we run expr_to_str() then if a pointer is used as an array, the output
looks like pointer math instead of looking like an array.

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