mirror of
https://github.com/Z3Prover/z3
synced 2026-02-23 16:57:51 +00:00
Standardize for-loop increments to prefix form (++i) (#8199)
* Initial plan * Convert postfix to prefix increment in for loops Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Fix member variable increment conversion bug Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Update API generator to produce prefix increments Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
851b8ea31c
commit
317dd92105
475 changed files with 3237 additions and 3237 deletions
|
|
@ -8,7 +8,7 @@ static void tst_ascii_roundtrip() {
|
|||
unsigned ascii_min = 0x20; // ' '
|
||||
unsigned ascii_max = 0x7E; // '~'
|
||||
|
||||
for (unsigned i = ascii_min; i <= ascii_max; i++) {
|
||||
for (unsigned i = ascii_min; i <= ascii_max; ++i) {
|
||||
zstring input(i);
|
||||
std::string expected(1, i);
|
||||
bool roundtrip_ok = input.encode() == expected;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue