aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-07-31 10:03:34 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-06 08:50:40 +0200
commit2de1601e3e8e239634acc0696393c3e96722b3fc (patch)
tree6edb7d55b4f96bdbfbc734ef2d047589f552e52d /validation/optim
parentf7940d3f0e7cacd7c88e7385bb351857d8b1adb1 (diff)
downloadsparse-dev-2de1601e3e8e239634acc0696393c3e96722b3fc.tar.gz
protect add_convert_to_bool() against bad types / invalid expressions
It's not possible to do a boolean conversion of an expression if this expression is invalid / has not type / is VOID. Fix this by returning VOID in these situations. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
0 files changed, 0 insertions, 0 deletions