diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-09-05 12:39:05 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2024-09-05 12:41:20 -0400 |
commit | 953af0e7f1bcb42136be1a0ea9cdd5aa1fb74852 (patch) | |
tree | 1e7ec771e2a116e79a2fe60f38073c6d4a6fc92b /libcxx/src/filesystem | |
parent | 2ed510dc9789ca0b9172f0593527bee9d53496c4 (diff) | |
download | llvm-953af0e7f1bcb42136be1a0ea9cdd5aa1fb74852.zip llvm-953af0e7f1bcb42136be1a0ea9cdd5aa1fb74852.tar.gz llvm-953af0e7f1bcb42136be1a0ea9cdd5aa1fb74852.tar.bz2 |
[libc++][NFC] Increase consistency for namespace closing comments
Diffstat (limited to 'libcxx/src/filesystem')
-rw-r--r-- | libcxx/src/filesystem/error.h | 2 | ||||
-rw-r--r-- | libcxx/src/filesystem/file_descriptor.h | 2 | ||||
-rw-r--r-- | libcxx/src/filesystem/format_string.h | 2 | ||||
-rw-r--r-- | libcxx/src/filesystem/operations.cpp | 6 | ||||
-rw-r--r-- | libcxx/src/filesystem/posix_compat.h | 2 | ||||
-rw-r--r-- | libcxx/src/filesystem/time_utils.h | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/src/filesystem/error.h b/libcxx/src/filesystem/error.h index 572cc73..09020fb 100644 --- a/libcxx/src/filesystem/error.h +++ b/libcxx/src/filesystem/error.h @@ -225,7 +225,7 @@ private: ErrorHandler& operator=(ErrorHandler const&) = delete; }; -} // end namespace detail +} // namespace detail _LIBCPP_END_NAMESPACE_FILESYSTEM diff --git a/libcxx/src/filesystem/file_descriptor.h b/libcxx/src/filesystem/file_descriptor.h index 50178ff..f86eb60 100644 --- a/libcxx/src/filesystem/file_descriptor.h +++ b/libcxx/src/filesystem/file_descriptor.h @@ -284,7 +284,7 @@ inline file_status FileDescriptor::refresh_status(error_code& ec) { return m_status; } -} // end namespace detail +} // namespace detail _LIBCPP_END_NAMESPACE_FILESYSTEM diff --git a/libcxx/src/filesystem/format_string.h b/libcxx/src/filesystem/format_string.h index a44def8..81c5a95 100644 --- a/libcxx/src/filesystem/format_string.h +++ b/libcxx/src/filesystem/format_string.h @@ -70,7 +70,7 @@ inline _LIBCPP_ATTRIBUTE_FORMAT(__printf__, 1, 2) string format_string(const cha return ret; } -} // end namespace detail +} // namespace detail _LIBCPP_END_NAMESPACE_FILESYSTEM diff --git a/libcxx/src/filesystem/operations.cpp b/libcxx/src/filesystem/operations.cpp index a83c1ae..d771f20 100644 --- a/libcxx/src/filesystem/operations.cpp +++ b/libcxx/src/filesystem/operations.cpp @@ -254,7 +254,7 @@ bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_cod #endif // copy_file_impl implementation } // end anonymous namespace -} // end namespace detail +} // namespace detail bool __copy_file(const path& from, const path& to, copy_options options, error_code* ec) { using detail::FileDescriptor; @@ -732,7 +732,7 @@ uintmax_t remove_all_impl(path const& p, error_code& ec) { return count; } -} // end namespace +} // namespace uintmax_t __remove_all(const path& p, error_code* ec) { ErrorHandler<uintmax_t> err("remove_all", ec, &p); @@ -827,7 +827,7 @@ uintmax_t remove_all_impl(int parent_directory, const path& p, error_code& ec) { return 0; } -} // end namespace +} // namespace uintmax_t __remove_all(const path& p, error_code* ec) { ErrorHandler<uintmax_t> err("remove_all", ec, &p); diff --git a/libcxx/src/filesystem/posix_compat.h b/libcxx/src/filesystem/posix_compat.h index 760cdb6..b41c004 100644 --- a/libcxx/src/filesystem/posix_compat.h +++ b/libcxx/src/filesystem/posix_compat.h @@ -490,7 +490,7 @@ using SSizeT = ::ssize_t; #endif -} // end namespace detail +} // namespace detail _LIBCPP_END_NAMESPACE_FILESYSTEM diff --git a/libcxx/src/filesystem/time_utils.h b/libcxx/src/filesystem/time_utils.h index e05f252..13f0d6f 100644 --- a/libcxx/src/filesystem/time_utils.h +++ b/libcxx/src/filesystem/time_utils.h @@ -344,7 +344,7 @@ inline file_time_type __extract_last_write_time(const path& p, const StatT& st, #endif // !_LIBCPP_HAS_NO_FILESYSTEM -} // end namespace detail +} // namespace detail _LIBCPP_END_NAMESPACE_FILESYSTEM |