[wpiutil] Suppress fmtlib clang-tidy warning in C++20 consteval contexts (#4364)

This commit is contained in:
Tyler Veness
2022-08-19 23:52:19 -07:00
committed by GitHub
parent 0e6d67b23b
commit d80e8039d7
4 changed files with 37 additions and 7 deletions

View File

@@ -2921,7 +2921,7 @@ class format_string_checker {
basic_string_view<Char> format_str, ErrorHandler eh)
: context_(format_str, num_args, types_, eh),
parse_funcs_{&parse_format_specs<Args, parse_context_type>...},
types_{type_constant<Args, char>::value...} {}
types_{type_constant<Args, char>::value...} {} // NOLINT(clang-analyzer-optin.cplusplus.UninitializedObject)
FMT_CONSTEXPR void on_text(const Char*, const Char*) {}