Skip to content

Commit

Permalink
Workaround clang-format nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Sep 20, 2024
1 parent a197a99 commit 3f296e3
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3f296e3

Please sign in to comment.