formatting

This commit is contained in:
gabime
2018-03-17 12:47:46 +02:00
parent c739e68021
commit 56e4a201ec
23 changed files with 98 additions and 48 deletions

View File

@@ -345,7 +345,8 @@ typedef __int64 intmax_t;
#if FMT_MSC_VER && !defined(FMT_BUILTIN_CLZLL) && !defined(_MANAGED)
#include <intrin.h> // _BitScanReverse, _BitScanReverse64
namespace fmt { namespace internal {
namespace fmt {
namespace internal {
// avoid Clang with Microsoft CodeGen's -Wunknown-pragmas warning
#ifndef __clang__
#pragma intrinsic(_BitScanReverse)
@@ -391,10 +392,12 @@ inline uint32_t clzll(uint64_t x)
return 63 - r;
}
#define FMT_BUILTIN_CLZLL(n) fmt::internal::clzll(n)
}} // namespace fmt::internal
} // namespace internal
} // namespace fmt
#endif
namespace fmt { namespace internal {
namespace fmt {
namespace internal {
struct DummyInt
{
int data[2];
@@ -439,7 +442,8 @@ inline T const_check(T value)
{
return value;
}
}} // namespace fmt::internal
} // namespace internal
} // namespace fmt
namespace std {
// Standard permits specialization of std::numeric_limits. This specialization