libstdc++: Tweak whitespace in <atomic>
Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * include/std/atomic: Tweak whitespace.
This commit is contained in:
parent
dba1ab2122
commit
892400f1f2
@ -560,7 +560,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
{ return _M_b.is_lock_free(); }
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_POINTER_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free
|
||||
= ATOMIC_POINTER_LOCK_FREE == 2;
|
||||
#endif
|
||||
|
||||
void
|
||||
@ -660,6 +661,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
notify_all() const noexcept
|
||||
{ _M_b.notify_all(); }
|
||||
#endif // __cpp_lib_atomic_wait
|
||||
|
||||
__pointer_type
|
||||
fetch_add(ptrdiff_t __d,
|
||||
memory_order __m = memory_order_seq_cst) noexcept
|
||||
@ -721,7 +723,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -744,7 +746,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -767,7 +769,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -790,7 +792,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -813,7 +815,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -836,7 +838,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -859,7 +861,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -882,7 +884,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -905,7 +907,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -928,7 +930,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_LLONG_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_LLONG_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -951,7 +953,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_LLONG_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_LLONG_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -974,7 +976,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_WCHAR_T_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free = ATOMIC_WCHAR_T_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -998,7 +1000,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus > 201402L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR8_T_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free
|
||||
= ATOMIC_CHAR8_T_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
@ -1022,7 +1025,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR16_T_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free
|
||||
= ATOMIC_CHAR16_T_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
@ -1045,7 +1049,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
using __base_type::operator=;
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
static constexpr bool is_always_lock_free = ATOMIC_CHAR32_T_LOCK_FREE == 2;
|
||||
static constexpr bool is_always_lock_free
|
||||
= ATOMIC_CHAR32_T_LOCK_FREE == 2;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user