isl_arg: use named constant to identify arguments without an offset.
commit70b580ca01ba732db40280a71f85c62b01f82123
authorTobias Grosser <tobias@grosser.es>
Thu, 23 Aug 2018 20:52:54 +0000 (23 22:52 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Fri, 24 Aug 2018 17:46:53 +0000 (24 19:46 +0200)
tree0ab6426abb2173a098ff7d4ee0bfa3abaa32dc94
parent45c68ad2b1665e0936bf28183cdd256f26c3f345
isl_arg: use named constant to identify arguments without an offset.

Before this change isl used at various locations the magic constant
((size_t) -1) to indicate that certain arguments do not have an offset.
This commit introduces the constant ISL_ARG_OFFSET_NONE which is more
understandable than a plain '-1'.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
include/isl/arg.h
isl_arg.c
isl_ctx.c