From 3ff2c0b8945408f63b381af4f22a6167e52b486d Mon Sep 17 00:00:00 2001 From: fcostaoliveira Date: Mon, 1 Jun 2026 09:15:26 +0100 Subject: [PATCH] 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 --- include/fast_float/ascii_number.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 371f3da..14caa0d 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -296,12 +296,13 @@ loop_parse_if_eight_digits(char const *&p, char const *const pend, } // 4-digit SWAR follow-up (ported from ffc EXP-001): consume a remaining 4-7 // digit run in one step rather than byte-by-byte. GCC path only — on Clang - // the follow-up's presence bloated the 2x-unroll codegen and regressed random. + // the follow-up's presence bloated the 2x-unroll codegen and regressed + // random. if ((pend - p) >= 4) { uint32_t const val4 = read4_to_u32(p); if (is_made_of_four_digits_fast(val4)) { - i = i * 10000 + - parse_four_digits_unrolled(val4); // in rare cases overflows, that's ok + i = i * 10000 + parse_four_digits_unrolled( + val4); // in rare cases overflows, that's ok p += 4; } }