diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-05-30 05:53:31 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-17 18:21:21 +0100 |
| commit | 4a036fd55cb47e88119c792018904511401ddd79 (patch) | |
| tree | 7950b12c5f3a6cb4ac0ab9237187f2c9bc51f5b5 /validation | |
| parent | 0e49c8b5a06e95b10b6e3986535325edf319fbb5 (diff) | |
| download | sparse-dev-4a036fd55cb47e88119c792018904511401ddd79.tar.gz | |
add an helper to test the value of a pseudo against zero
Testing the value of a pseudo against zero is relatively
common but it needs to test the type of the pseudo before
testing the value itself.
Add 2 small helpers for this: is_zero() & is_nonzero().
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
0 files changed, 0 insertions, 0 deletions
