mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 19:24:48 +02:00
Use FMT_HAS_INCLUDE and apply clang-format
This commit is contained in:
@@ -799,12 +799,10 @@ using is_integer =
|
|||||||
|
|
||||||
#ifndef FMT_USE_FLOAT128
|
#ifndef FMT_USE_FLOAT128
|
||||||
# ifdef __clang__
|
# ifdef __clang__
|
||||||
// Clang C++ emulates GCC, so it has to appear early.
|
// Clang emulates GCC, so it has to appear early.
|
||||||
# if defined(__has_include)
|
# if FMT_HAS_INCLUDE(<quadmath.h>)
|
||||||
# if __has_include(<quadmath.h>)
|
|
||||||
# define FMT_USE_FLOAT128 1
|
# define FMT_USE_FLOAT128 1
|
||||||
# endif
|
# endif
|
||||||
# endif
|
|
||||||
# elif defined(__GNUC__)
|
# elif defined(__GNUC__)
|
||||||
// GNU C++:
|
// GNU C++:
|
||||||
# if defined(_GLIBCXX_USE_FLOAT128) && !defined(__STRICT_ANSI__)
|
# if defined(_GLIBCXX_USE_FLOAT128) && !defined(__STRICT_ANSI__)
|
||||||
@@ -4310,9 +4308,7 @@ template <> struct formatter<bytes> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// group_digits_view is not derived from view because it copies the argument.
|
// group_digits_view is not derived from view because it copies the argument.
|
||||||
template <typename T> struct group_digits_view {
|
template <typename T> struct group_digits_view { T value; };
|
||||||
T value;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\rst
|
\rst
|
||||||
|
Reference in New Issue
Block a user