libstdc++-v3/ChangeLog:
* include/bits/alloc_traits.h: Remove trailing whitespace.
* include/bits/atomic_base.h: Likewise.
* include/bits/ranges_util.h: Likewise.
* include/bits/stdexcept_except.h: Likewise.
* include/bits/stdexcept_throwdef.h: Likewise.
* include/bits/unicode.h: Likewise.
* include/std/bit: Likewise.
* include/std/chrono: Likewise.
* include/std/format: Likewise.
* include/std/mdspan: Likewise.
* include/std/string_view: Likewise.
* src/c++20/format-inst.cc: Likewise.
---
Pushed to trunk.
libstdc++-v3/include/bits/alloc_traits.h | 2 +-
libstdc++-v3/include/bits/atomic_base.h | 2 +-
libstdc++-v3/include/bits/ranges_util.h | 2 +-
libstdc++-v3/include/bits/stdexcept_except.h | 2 +-
.../include/bits/stdexcept_throwdef.h | 28 +++++++++----------
libstdc++-v3/include/bits/unicode.h | 2 +-
libstdc++-v3/include/std/bit | 2 +-
libstdc++-v3/include/std/chrono | 10 +++----
libstdc++-v3/include/std/format | 8 +++---
libstdc++-v3/include/std/mdspan | 2 +-
libstdc++-v3/include/std/string_view | 2 +-
libstdc++-v3/src/c++20/format-inst.cc | 2 +-
12 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/libstdc++-v3/include/bits/alloc_traits.h
b/libstdc++-v3/include/bits/alloc_traits.h
index c113f798690d..df3166fc4756 100644
--- a/libstdc++-v3/include/bits/alloc_traits.h
+++ b/libstdc++-v3/include/bits/alloc_traits.h
@@ -583,7 +583,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
#if _GLIBCXX_HOSTED
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Winvalid-specialization"
-
+
/**
* @brief Partial specialization for `std::allocator`
* @headerfile memory
diff --git a/libstdc++-v3/include/bits/atomic_base.h
b/libstdc++-v3/include/bits/atomic_base.h
index 3a8e9a7b4c1f..1d97ccf57b90 100644
--- a/libstdc++-v3/include/bits/atomic_base.h
+++ b/libstdc++-v3/include/bits/atomic_base.h
@@ -1429,7 +1429,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
constexpr
__atomic_float(_Fp __t) : _M_fp(__t)
- {
+ {
if (!std::__is_constant_evaluated())
__atomic_impl::__clear_padding(_M_fp);
}
diff --git a/libstdc++-v3/include/bits/ranges_util.h
b/libstdc++-v3/include/bits/ranges_util.h
index e6c02aa1d927..c474e7f165ef 100644
--- a/libstdc++-v3/include/bits/ranges_util.h
+++ b/libstdc++-v3/include/bits/ranges_util.h
@@ -655,7 +655,7 @@ namespace ranges
typename _Proj1 = identity, typename _Proj2 = identity>
requires indirectly_comparable<iterator_t<_Range1>, iterator_t<_Range2>,
_Pred, _Proj1, _Proj2>
- [[nodiscard]]
+ [[nodiscard]]
constexpr mismatch_result<iterator_t<_Range1>, iterator_t<_Range2>>
operator()(_Range1&& __r1, _Range2&& __r2, _Pred __pred = {},
_Proj1 __proj1 = {}, _Proj2 __proj2 = {}) const
diff --git a/libstdc++-v3/include/bits/stdexcept_except.h
b/libstdc++-v3/include/bits/stdexcept_except.h
index 6a43991c2240..31781245310c 100644
--- a/libstdc++-v3/include/bits/stdexcept_except.h
+++ b/libstdc++-v3/include/bits/stdexcept_except.h
@@ -169,7 +169,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
return *this;
} else {
return __detail::_ZNSt12__cow_stringaSEOS_(this, std::move(__o));
- }
+ }
}
[[__gnu__::__always_inline__]] constexpr const char*
diff --git a/libstdc++-v3/include/bits/stdexcept_throwdef.h
b/libstdc++-v3/include/bits/stdexcept_throwdef.h
index 73b9d0a7e392..a03a9b167796 100644
--- a/libstdc++-v3/include/bits/stdexcept_throwdef.h
+++ b/libstdc++-v3/include/bits/stdexcept_throwdef.h
@@ -50,29 +50,29 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{
[[noreturn, __gnu__::__cold__]] void
_ZSt19__throw_logic_errorPKc(const char*);
-
+
[[noreturn, __gnu__::__cold__]] void
_ZSt20__throw_domain_errorPKc(const char*);
-
+
[[noreturn, __gnu__::__cold__]] void
_ZSt24__throw_invalid_argumentPKc(const char*);
[[noreturn, __gnu__::__cold__]] void
_ZSt20__throw_length_errorPKc(const char*);
-
+
[[noreturn, __gnu__::__cold__]] void
_ZSt20__throw_out_of_rangePKc(const char*);
-
+
[[noreturn, __gnu__::__cold__]]
[[__gnu__::__format__(__gnu_printf__, 1, 2)]] void
_ZSt24__throw_out_of_range_fmtPKcz(const char*, ...);
-
+
[[noreturn, __gnu__::__cold__]] void
_ZSt21__throw_runtime_errorPKc(const char*);
[[noreturn, __gnu__::__cold__]] void
_ZSt22__throw_overflow_errorPKc(const char*);
-
+
[[noreturn, __gnu__::__cold__]] void
_ZSt23__throw_underflow_errorPKc(const char*);
}
@@ -87,7 +87,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__detail::_ZSt19__throw_logic_errorPKc(__s);
}
}
-
+
[[noreturn, __gnu__::__always_inline__, __gnu__::__cold__]] constexpr void
__throw_domain_error(const char* __s)
{
@@ -97,7 +97,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__detail::_ZSt20__throw_domain_errorPKc(__s);
}
}
-
+
[[noreturn, __gnu__::__always_inline__, __gnu__::__cold__]] constexpr void
__throw_invalid_argument(const char* __s)
{
@@ -107,7 +107,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__detail::_ZSt24__throw_invalid_argumentPKc(__s);
}
}
-
+
[[noreturn, __gnu__::__always_inline__, __gnu__::__cold__]] constexpr void
__throw_length_error(const char* __s)
{
@@ -117,7 +117,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__detail::_ZSt20__throw_length_errorPKc(__s);
}
}
-
+
[[noreturn, __gnu__::__always_inline__, __gnu__::__cold__]] constexpr void
__throw_out_of_range(const char* __s)
{
@@ -125,9 +125,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
throw out_of_range(__s);
} else {
__detail::_ZSt20__throw_out_of_rangePKc(__s);
- }
+ }
}
-
+
template <typename... _Args>
[[noreturn, __gnu__::__always_inline__, __gnu__::__cold__]] constexpr void
__throw_out_of_range_fmt(const char* __s, _Args... __args)
@@ -158,7 +158,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__detail::_ZSt22__throw_overflow_errorPKc(__s);
}
}
-
+
[[noreturn, __gnu__::__always_inline__, __gnu__::__cold__]] constexpr void
__throw_underflow_error(const char* __s)
{
@@ -166,7 +166,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
throw underflow_error(__s);
} else {
__detail::_ZSt23__throw_underflow_errorPKc(__s);
- }
+ }
}
_GLIBCXX_END_NAMESPACE_VERSION
diff --git a/libstdc++-v3/include/bits/unicode.h
b/libstdc++-v3/include/bits/unicode.h
index 2444cb268e61..4ef8e6e8fc5b 100644
--- a/libstdc++-v3/include/bits/unicode.h
+++ b/libstdc++-v3/include/bits/unicode.h
@@ -170,7 +170,7 @@ namespace __unicode
{ return _M_curr(); }
[[nodiscard]]
- constexpr iter_difference_t<_Iter>
+ constexpr iter_difference_t<_Iter>
_M_units() const requires forward_iterator<_Iter>
{ return _M_to_increment; }
diff --git a/libstdc++-v3/include/std/bit b/libstdc++-v3/include/std/bit
index 51910fda1c10..66b2b77624cd 100644
--- a/libstdc++-v3/include/std/bit
+++ b/libstdc++-v3/include/std/bit
@@ -267,7 +267,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__countr_zero(_Tp __x) noexcept
{
return __builtin_ctzg(__x, __gnu_cxx::__int_traits<_Tp>::__digits);
- }
+ }
#else
template<typename _Tp>
_GLIBCXX14_CONSTEXPR int
diff --git a/libstdc++-v3/include/std/chrono b/libstdc++-v3/include/std/chrono
index 9c8a5ced2bcd..2c020ff7a3a9 100644
--- a/libstdc++-v3/include/std/chrono
+++ b/libstdc++-v3/include/std/chrono
@@ -3358,7 +3358,7 @@ namespace __detail
((__res = (__res << (sizeof(_Ts) * __CHAR_BIT__) | _ResT(__vs))), ...);
return __res;
}
-
+
template<typename _Tp>
[[__gnu__::__always_inline__]]
constexpr auto
@@ -3416,7 +3416,7 @@ namespace __detail
size_t
operator()(const chrono::duration<_Rep, _Period>& __val) const
noexcept(__is_nothrow_copy_hashable<_Rep>)
- {
+ {
if constexpr (is_integral_v<_Rep>)
return chrono::__int_hash(__val.count());
else
@@ -3567,7 +3567,7 @@ namespace __detail
{
size_t
operator()(chrono::year_month_weekday __val) const noexcept
- {
+ {
return chrono::__hash(__val.year(), __val.month(),
__val.weekday_indexed());
}
@@ -3579,7 +3579,7 @@ namespace __detail
{
size_t
operator()(chrono::year_month_weekday_last __val) const noexcept
- {
+ {
return chrono::__hash(__val.year(), __val.month(),
__val.weekday_last());
}
@@ -3637,7 +3637,7 @@ namespace __detail
{
size_t
operator()(chrono::leap_second __val) const noexcept
- {
+ {
return chrono::__int_hash(
__val.date().time_since_epoch().count(),
__val.value().count());
diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format
index f1cd49dd98a4..664e244520e3 100644
--- a/libstdc++-v3/include/std/format
+++ b/libstdc++-v3/include/std/format
@@ -2516,7 +2516,7 @@ namespace __format
const size_t __r = __str.size() - __e; // Length of remainder.
auto __overwrite = [&](_CharT* __p, size_t) {
// Copy any +/- sign and "0x" prefix
- ranges::copy_n(__str.data(), __offset, __p);
+ ranges::copy_n(__str.data(), __offset, __p);
// Apply grouping to the digits before the radix or exponent.
auto __end = std::__add_grouping(__p + __offset, __np.thousands_sep(),
__grp.data(), __grp.size(),
@@ -3613,7 +3613,7 @@ namespace __format
explicit
_Streambuf_sink(basic_streambuf<_CharT>* __sbuf) noexcept
: _M_sbuf(__sbuf), _M_write_failed(!__sbuf)
- {
+ {
if (!_M_write_failed) [[likely]]
_M_reserve_put_area();
}
@@ -5288,8 +5288,8 @@ namespace __format
basic_format_arg<_Context>::_M_handle_unrecognized() const
{
// If _M_type corresponds to a new value of _Arg_t introduced after
- // GCC 16, this function should return a handle that refers to the
- // union member of _M_val corresponding to that _Arg_t value.
+ // GCC 16, this function should return a handle that refers to the
+ // union member of _M_val corresponding to that _Arg_t value.
__throw_format_error("format error: unrecognized argument type");
}
#endif
diff --git a/libstdc++-v3/include/std/mdspan b/libstdc++-v3/include/std/mdspan
index 6adc157a8766..be6e3a015eea 100644
--- a/libstdc++-v3/include/std/mdspan
+++ b/libstdc++-v3/include/std/mdspan
@@ -3389,7 +3389,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
return __mdspan::__index_type_cast<_IndexType>(std::move(__slice));
}
- template<typename _IndexType,
+ template<typename _IndexType,
typename _OffsetType, typename _SpanType, typename _StrideType>
constexpr auto
__canonical_range_slice(_OffsetType __offset, _SpanType __span,
diff --git a/libstdc++-v3/include/std/string_view
b/libstdc++-v3/include/std/string_view
index ce6aee290524..030314a2f5be 100644
--- a/libstdc++-v3/include/std/string_view
+++ b/libstdc++-v3/include/std/string_view
@@ -623,7 +623,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
#if __cpp_lib_three_way_comparison
// _GLIBCXX_RESOLVE_LIB_DEFECTS
- // 3950. std::basic_string_view comparison operators are overspecified
+ // 3950. std::basic_string_view comparison operators are overspecified
template<typename _CharT, typename _Traits>
[[nodiscard]]
diff --git a/libstdc++-v3/src/c++20/format-inst.cc
b/libstdc++-v3/src/c++20/format-inst.cc
index fe15992485e5..49604874b294 100644
--- a/libstdc++-v3/src/c++20/format-inst.cc
+++ b/libstdc++-v3/src/c++20/format-inst.cc
@@ -34,7 +34,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{
// If _M_type corresponds to a new value of _Arg_t introduced after GCC
16,
// this function should return a handle that refers to the union member
of
- // _M_val corresponding to that _Arg_t value.
+ // _M_val corresponding to that _Arg_t value.
__throw_format_error("format error: unrecognized argument type");
}
--
2.56.0