Skip to content

Commit 3ff2c0b

Browse files
EXP-053: clang-format (reflow comment + expression wrap; no semantic change)
Pre-clear the lint_and_format_check CI gate. clang-format-18 (CI pins 17; LLVM base style is identical for these constructs). Behavior/benchmarks unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a30c1f3 commit 3ff2c0b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

include/fast_float/ascii_number.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,13 @@ loop_parse_if_eight_digits(char const *&p, char const *const pend,
296296
}
297297
// 4-digit SWAR follow-up (ported from ffc EXP-001): consume a remaining 4-7
298298
// digit run in one step rather than byte-by-byte. GCC path only — on Clang
299-
// the follow-up's presence bloated the 2x-unroll codegen and regressed random.
299+
// the follow-up's presence bloated the 2x-unroll codegen and regressed
300+
// random.
300301
if ((pend - p) >= 4) {
301302
uint32_t const val4 = read4_to_u32(p);
302303
if (is_made_of_four_digits_fast(val4)) {
303-
i = i * 10000 +
304-
parse_four_digits_unrolled(val4); // in rare cases overflows, that's ok
304+
i = i * 10000 + parse_four_digits_unrolled(
305+
val4); // in rare cases overflows, that's ok
305306
p += 4;
306307
}
307308
}

0 commit comments

Comments
 (0)