debug: introduce __smatch_rl()
commit98c57a0c58658b9f32479249f3a793952c7308ea
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Sep 2017 21:35:27 +0000 (13 00:35 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Sep 2017 21:35:27 +0000 (13 00:35 +0300)
tree8805fe5c8fc199868715ae3885f097b172f98b15
parent131ce843f57adcb14028b098c46c13c37f69a2a7
debug: introduce __smatch_rl()

Normally when I want a range, then I just use a series of if statements to
filter out the numbers I don't need.  But now I can just say:

int x = __smatch_rl("0-9");

Which is simpler.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_debug.c
check_debug.h
validation/sm_val_parse1.c