From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 79EE738515F7 for ; Thu, 2 Sep 2021 17:53:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 79EE738515F7 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-142-zbycqglSP6yK0QKk6T_5_w-1; Thu, 02 Sep 2021 13:53:55 -0400 X-MC-Unique: zbycqglSP6yK0QKk6T_5_w-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CEFEE1006C91; Thu, 2 Sep 2021 17:53:54 +0000 (UTC) Received: from localhost (unknown [10.33.36.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7F6A25C232; Thu, 2 Sep 2021 17:53:54 +0000 (UTC) Date: Thu, 2 Sep 2021 18:53:53 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Tweak whitespace in Message-ID: MIME-Version: 1.0 X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="EQPFc25HVuh16vZn" Content-Disposition: inline X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2021 17:53:58 -0000 --EQPFc25HVuh16vZn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * include/std/atomic: Tweak whitespace. Tested x86_64-linux. Committed to trunk. --EQPFc25HVuh16vZn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" commit 892400f1f21ccee98dddcd90677038ce266248c8 Author: Jonathan Wakely Date: Thu Sep 2 16:08:25 2021 libstdc++: Tweak whitespace in Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * include/std/atomic: Tweak whitespace. 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 }; --EQPFc25HVuh16vZn--