diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-07-08 09:54:06 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-08-07 12:07:12 +0200 |
| commit | f8b6997ff58a9a057dbd858aa190577fdc4ece45 (patch) | |
| tree | 5c8920c96fbdafd533b26fcff01bcd7ffc7b07ea /validation/linear | |
| parent | 6da6517086e523f25cef070f9a89105f43147896 (diff) | |
| download | sparse-dev-f8b6997ff58a9a057dbd858aa190577fdc4ece45.tar.gz | |
expand linearize_position() into linearize_initializer()
linearize_position() is a very small function doing the initialization
of EXPR_POS while for the more complex EXPR_INITIALIZER this is done
directly in linearize_initializer().
Having this code in a separate function doesn't bring substantial benefits,
on the contrary it obscure the fact that linearize_initializer() is a
recursive function and make harder the tracking of where struct access_data
are modified.
Expand linearize_position() into its caller, linearize_initializer().
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/linear')
0 files changed, 0 insertions, 0 deletions
