diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-11 23:47:49 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-05-27 17:51:40 +0200 |
| commit | 0062618881aa58f885ac78dc20c6fd2823c751b0 (patch) | |
| tree | 5a15d7ebca63367cc623dfd25ad3aaa4edf4da5c /validation/expand | |
| parent | f5f2d7167eb6da02197f0e18cf512bfefb603385 (diff) | |
| download | sparse-dev-0062618881aa58f885ac78dc20c6fd2823c751b0.tar.gz | |
vla-sizeof: add support for sizeof of VLAs
While sparse can parse VLA, their size were left as
'undeterminated' (-1) and trying to use sizeof on VLAs
resulted in a warning 'error: cannot size the expression'.
Fix this by adding the needing code to evaluate the expressions
corresponding to the sizeof of VLAs.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/expand')
0 files changed, 0 insertions, 0 deletions
