public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r12-3318] libstdc++: Tweak whitespace in <atomic>
Date: Thu,  2 Sep 2021 17:51:21 +0000 (GMT)	[thread overview]
Message-ID: <20210902175121.9108338515E5@sourceware.org> (raw)

https://gcc.gnu.org/g:892400f1f21ccee98dddcd90677038ce266248c8

commit r12-3318-g892400f1f21ccee98dddcd90677038ce266248c8
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Sep 2 16:08:25 2021 +0100

    libstdc++: Tweak whitespace in <atomic>
    
    Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
    
    libstdc++-v3/ChangeLog:
    
            * include/std/atomic: Tweak whitespace.

Diff:
---
 libstdc++-v3/include/std/atomic | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/libstdc++-v3/include/std/atomic b/libstdc++-v3/include/std/atomic
index b395c65d468..bdbbfd5c8f8 100644
--- a/libstdc++-v3/include/std/atomic
+++ b/libstdc++-v3/include/std/atomic
@@ -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
     };


                 reply	other threads:[~2021-09-02 17:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210902175121.9108338515E5@sourceware.org \
    --to=redi@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).