Commit 7214340
committed
Simplification of nested pointer arithmetic: improve readability
Use temporaries to ensure const-access where possible and name
subexpressions. This helps navigate the various uses of opX() in this
code.
No change in behaviour is expected. This code is covered by at least 33
of the regression/cbmc/ tests as well as several other regression tests.1 parent 3f175c9 commit 7214340
1 file changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
| 443 | + | |
443 | 444 | | |
444 | | - | |
445 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
446 | 451 | | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
452 | 456 | | |
453 | 457 | | |
454 | 458 | | |
| |||
0 commit comments