Apply clang-format and tweak comments

This commit is contained in:
Victor Zverovich 2020-11-04 17:17:23 -08:00
parent 6a2495c840
commit a30b279bad

View File

@ -69,7 +69,6 @@
# define FMT_NOINLINE
#endif
// Special definition specific to GCC only
#if FMT_GCC_VERSION
# define FMT_GCC_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#else
@ -3207,8 +3206,7 @@ FMT_CONSTEXPR basic_string_view<Char> compile_string_to_view(
#define FMT_STRING_IMPL(s, base) \
[] { \
/* Use a hidden visibility as workaround for some GCC, see */ \
/* https://github.com/fmtlib/fmt/issues/1973 for details */ \
/* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
/* Use a macro-like name to avoid shadowing warnings. */ \
struct FMT_GCC_VISIBILITY_HIDDEN FMT_COMPILE_STRING : base { \
using char_type = fmt::remove_cvref_t<decltype(s[0])>; \