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.129.124]) by sourceware.org (Postfix) with ESMTPS id 7FEF23858D39 for ; Sat, 21 Oct 2023 11:09:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7FEF23858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7FEF23858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697886556; cv=none; b=h/9AkSpLBKO8aI6zZ34ZAa24IWSLCKTpObIf6zN01b9yw3lPFZ0xQo9BvR8UgVZbaMWi3JZx5RcTY0meePaHPp/W09qCOnqBcvH4YPRUFz9fhfKPAxx8aqa3BgceCOlLmxNEa+55iXvDP/Kp3R/tWzV0TFpTgo421o1Yk9m6Lh4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697886556; c=relaxed/simple; bh=PcRpsyhFhdfEGPGnfvzStZXjbcGZEbPbjMGnxEbd3zE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Crbqka8uDg9OgpAfQ3yuxIIa0P0Si7ceA0NNUNXzyaxQV1Urc8HfIsj12x2cEPOuDlUutlJShdSe6WF+qoMkWCwBzExwglS7qPq39lnMvCLubm5tK3ZGyvbjBdEoTdxI2Y1Y7bUw/eOvn6XxuS9hbuNPW7wGkpsTWi6uAXTHrHM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697886555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IS9De/D4VHoHkM4krawfj7OW0TJx0xiYy8fiq+CzbRk=; b=Vqiw27O8sgfdBrMj6hH8cDjHIQFZJJEFz0NH5y8iWbYJsFXUy01ypjc+XaIIVvKw4KOcLQ jo6dymK9P0uy6UBj7+s/I6y0lcUT9bjLOdLOTpj9d/UosJEIZUjZpdbLNJUShxC5J/dull fumYtdjU91nb1K6a4zAR2gse+tMVjnk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-77-umw-b7HePAWaLDJrQEGhMg-1; Sat, 21 Oct 2023 07:09:11 -0400 X-MC-Unique: umw-b7HePAWaLDJrQEGhMg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 74AC287A9F3; Sat, 21 Oct 2023 11:09:11 +0000 (UTC) Received: from localhost (unknown [10.42.28.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id 40741C15BB8; Sat, 21 Oct 2023 11:09:11 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Fix formatting of filesystem directory iterators Date: Sat, 21 Oct 2023 11:54:37 +0100 Message-ID: <20231021110910.155119-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.8 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_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tested x86_64-linux. Pushed to trunk. -- >8 -- Fix indentation. libstdc++-v3/ChangeLog: * include/bits/fs_dir.h (operator==(default_sentinel_t)): Fix indentation. --- libstdc++-v3/include/bits/fs_dir.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libstdc++-v3/include/bits/fs_dir.h b/libstdc++-v3/include/bits/fs_dir.h index 9dd0f896e46..3b0a493dc3f 100644 --- a/libstdc++-v3/include/bits/fs_dir.h +++ b/libstdc++-v3/include/bits/fs_dir.h @@ -449,10 +449,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 } #if __cplusplus >= 202002L - // _GLIBCXX_RESOLVE_LIB_DEFECTS - // 3719. Directory iterators should be usable with default sentinel - bool operator==(default_sentinel_t) const noexcept - { return !_M_dir; } + // _GLIBCXX_RESOLVE_LIB_DEFECTS + // 3719. Directory iterators should be usable with default sentinel + bool operator==(default_sentinel_t) const noexcept + { return !_M_dir; } #endif #if __cpp_impl_three_way_comparison < 201907L @@ -565,10 +565,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 } #if __cplusplus >= 202002L - // _GLIBCXX_RESOLVE_LIB_DEFECTS - // 3719. Directory iterators should be usable with default sentinel - bool operator==(default_sentinel_t) const noexcept - { return !_M_dirs; } + // _GLIBCXX_RESOLVE_LIB_DEFECTS + // 3719. Directory iterators should be usable with default sentinel + bool operator==(default_sentinel_t) const noexcept + { return !_M_dirs; } #endif #if __cpp_impl_three_way_comparison < 201907L -- 2.41.0