clang-format

This commit is contained in:
IRainman 2025-05-06 18:15:43 +03:00
parent d5c05e51af
commit 99d769db5b
4 changed files with 10 additions and 8 deletions

View File

@ -618,7 +618,8 @@ typedef struct {
} lib_symbol;
#define lib_nelems(x) (sizeof(x) / sizeof((x)[0]))
#define lib_symbol_def(name) {#name, (void **)&name}
#define lib_symbol_def(name) \
{ #name, (void **)&name }
static const lib_symbol lib_symbols_kperf[] = {
lib_symbol_def(kpc_pmu_version),

View File

@ -78,7 +78,8 @@ template <typename UC> struct parse_options_t {
FASTFLOAT_CONSTEXPR20 explicit parse_options_t(
chars_format const fmt = chars_format::general, UC const dot = UC('.'),
chars_format_t const b = 10) noexcept
: format(fmt), decimal_point(dot), base(b) {
: format(fmt), decimal_point(dot),
base(b){
#ifdef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
// static_assert(b >= 2 && b <= 36);
#endif