smatch: Implement --show-checks
commitfb98c9da7e3015aacbfdd61b54f5394067ed68da
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Fri, 6 Feb 2015 23:43:31 +0000 (7 00:43 +0100)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 11 Feb 2015 18:51:21 +0000 (11 21:51 +0300)
treea0dcd495dedda967e793f1c820cca65fe25b9d97
parenta220a774984c40bfa223ccfa9c2fa37130e85ed0
smatch: Implement --show-checks

This allows one to get an enumerated list of the checks
performed. While it is currently just the internal name of an
initialization function, one can later add proper short descriptions
of what the checks actually do.

Since we will unconditionally do all the register_* stuff, there's no
point in pretending they can be disabled. Also, this makes the list
somewhat more managable.
smatch.c