compare: introduce get_all_comparisons()
commit45be5edd212c62618ab863c0720959fda5751af4
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 27 Oct 2014 14:22:03 +0000 (27 17:22 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 27 Oct 2014 14:22:03 +0000 (27 17:22 +0300)
treed78cb4304e15d31a884269d8a08cd120ae78f6e0
parentb634237106f61c315f300a133ce7e7e519c0b03c
compare: introduce get_all_comparisons()

This returns a static list of compare states so we need to have a public
definition of the compare_data structure.  The
get_all_possible_equal_comparisons() is the same except that it only
returns >= comparisons but not < or !=.

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