Skip to content

Commit 953af0e

Browse files
committed
[libc++][NFC] Increase consistency for namespace closing comments
1 parent 2ed510d commit 953af0e

File tree

23 files changed

+30
-30
lines changed

23 files changed

+30
-30
lines changed

libcxx/include/__mdspan/extents.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ struct __make_dextents< _IndexType, 0, extents<_IndexType, _ExtentsPack...>> {
449449
using type = extents<_IndexType, _ExtentsPack...>;
450450
};
451451

452-
} // end namespace __mdspan_detail
452+
} // namespace __mdspan_detail
453453

454454
// [mdspan.extents.dextents], alias template
455455
template <class _IndexType, size_t _Rank>

libcxx/src/filesystem/error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ struct ErrorHandler {
225225
ErrorHandler& operator=(ErrorHandler const&) = delete;
226226
};
227227

228-
} // end namespace detail
228+
} // namespace detail
229229

230230
_LIBCPP_END_NAMESPACE_FILESYSTEM
231231

libcxx/src/filesystem/file_descriptor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ inline file_status FileDescriptor::refresh_status(error_code& ec) {
284284
return m_status;
285285
}
286286

287-
} // end namespace detail
287+
} // namespace detail
288288

289289
_LIBCPP_END_NAMESPACE_FILESYSTEM
290290

libcxx/src/filesystem/format_string.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ inline _LIBCPP_ATTRIBUTE_FORMAT(__printf__, 1, 2) string format_string(const cha
7070
return ret;
7171
}
7272

73-
} // end namespace detail
73+
} // namespace detail
7474

7575
_LIBCPP_END_NAMESPACE_FILESYSTEM
7676

libcxx/src/filesystem/operations.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_cod
254254
#endif // copy_file_impl implementation
255255

256256
} // end anonymous namespace
257-
} // end namespace detail
257+
} // namespace detail
258258

259259
bool __copy_file(const path& from, const path& to, copy_options options, error_code* ec) {
260260
using detail::FileDescriptor;
@@ -732,7 +732,7 @@ uintmax_t remove_all_impl(path const& p, error_code& ec) {
732732
return count;
733733
}
734734

735-
} // end namespace
735+
} // namespace
736736

737737
uintmax_t __remove_all(const path& p, error_code* ec) {
738738
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) {
827827
return 0;
828828
}
829829

830-
} // end namespace
830+
} // namespace
831831

832832
uintmax_t __remove_all(const path& p, error_code* ec) {
833833
ErrorHandler<uintmax_t> err("remove_all", ec, &p);

libcxx/src/filesystem/posix_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ using SSizeT = ::ssize_t;
490490

491491
#endif
492492

493-
} // end namespace detail
493+
} // namespace detail
494494

495495
_LIBCPP_END_NAMESPACE_FILESYSTEM
496496

libcxx/src/filesystem/time_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ inline file_time_type __extract_last_write_time(const path& p, const StatT& st,
344344

345345
#endif // !_LIBCPP_HAS_NO_FILESYSTEM
346346

347-
} // end namespace detail
347+
} // namespace detail
348348

349349
_LIBCPP_END_NAMESPACE_FILESYSTEM
350350

libcxx/src/include/atomic_support.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ __libcpp_atomic_compare_exchange(_ValueType* __val, _ValueType* __expected, _Val
125125

126126
#endif // _LIBCPP_HAS_NO_THREADS
127127

128-
} // end namespace
128+
} // namespace
129129

130130
_LIBCPP_END_NAMESPACE_STD
131131

libcxx/src/memory_resource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ union ResourceInitHelper {
8282
// attribute with a value that's reserved for the implementation (we're the implementation).
8383
#include "memory_resource_init_helper.h"
8484

85-
} // end namespace
85+
} // namespace
8686

8787
memory_resource* new_delete_resource() noexcept { return &res_init.resources.new_delete_res; }
8888

libcxx/src/system_error.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ string make_error_str(const error_code& ec) {
110110
}
111111
return string();
112112
}
113-
} // end namespace
113+
} // namespace
114114

115115
string __do_message::message(int ev) const {
116116
#if defined(_LIBCPP_HAS_NO_THREADS)

0 commit comments

Comments
 (0)