From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 092C53858C54; Sat, 21 Oct 2023 12:59:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 092C53858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697893156; bh=6gZwpLK/Gp+bVjHtzdl9J7GZe3TOZ39cZlIAG6FLrw8=; h=From:To:Subject:Date:From; b=wRbuP8Gy+EubiPdOZf7tIpftP7zAnmwRT8f098AxCK3O8u7y5ZwDHuV9nPmNRqVpw tRZjOOcbbrLKAl8YGuUGcLe+Yk9FMthVIuuUm+zb40mNMRfjLd8ynu+oPEhWmTRc3G LoRxpn3iCBCDXxxIg1HYRd/FsxfQaxNBRPm7bDBs= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-7970] libstdc++: Fix formatting of filesystem directory iterators X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-13 X-Git-Oldrev: f9dd32562f537ac80a1473ed36d4d937209b9af4 X-Git-Newrev: af3b4459e4fbc1adaf17716164ea8d0872a7a73e Message-Id: <20231021125916.092C53858C54@sourceware.org> Date: Sat, 21 Oct 2023 12:59:16 +0000 (GMT) List-Id: https://gcc.gnu.org/g:af3b4459e4fbc1adaf17716164ea8d0872a7a73e commit r13-7970-gaf3b4459e4fbc1adaf17716164ea8d0872a7a73e Author: Jonathan Wakely Date: Tue Oct 3 17:35:38 2023 +0100 libstdc++: Fix formatting of filesystem directory iterators Fix indentation. libstdc++-v3/ChangeLog: * include/bits/fs_dir.h (operator==(default_sentinel_t)): Fix indentation. (cherry picked from commit 77209d43f1f38f153863a1845b64542cca79c2cb) Diff: --- 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 9dd0f896e468..3b0a493dc3fd 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