From 3f296e3d4ad29248db4a52e207e154e8743e67d9 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 20 Sep 2024 09:05:59 -0700 Subject: [PATCH] Workaround clang-format nonsense --- include/fmt/base.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 04fbf22d..c45cc928 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -1459,16 +1459,10 @@ FMT_CONSTEXPR auto parse_format_specs(const Char* begin, const Char* end, } ++begin; break; - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - case '{': + // clang-format off + case '1': case '2': case '3': case '4': case '5': + case '6': case '7': case '8': case '9': case '{': + // clang-format on enter_state(state::width); begin = parse_width(begin, end, specs, specs.width_ref, ctx); break;