aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-12-22 17:56:03 -0500
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-12-22 17:56:03 -0500
commitcaf940bac6fc30216f9cfd45e6fafe65d5f7ad88 (patch)
treee1c31c7d91f089814ddc8137b9f45cf305a765cf
parent63997782a0d0f3ddf815b54c7126f8e1f4b8818e (diff)
downloadllvm-caf940bac6fc30216f9cfd45e6fafe65d5f7ad88.zip
llvm-caf940bac6fc30216f9cfd45e6fafe65d5f7ad88.tar.gz
llvm-caf940bac6fc30216f9cfd45e6fafe65d5f7ad88.tar.bz2
[libc++] Remove "clang-format off/on" comments. NFC.
These headers have stabilized; we don't expect anyone to be blindly clang-formatting them anymore. Leave the comments in `__format/*.h` for Mark to remove at his leisure.
-rw-r--r--libcxx/include/__iterator/concepts.h4
-rw-r--r--libcxx/include/__ranges/concepts.h4
-rw-r--r--libcxx/include/__ranges/data.h3
-rw-r--r--libcxx/include/__ranges/empty.h2
4 files changed, 0 insertions, 13 deletions
diff --git a/libcxx/include/__iterator/concepts.h b/libcxx/include/__iterator/concepts.h
index 531acdf..d7a6667 100644
--- a/libcxx/include/__iterator/concepts.h
+++ b/libcxx/include/__iterator/concepts.h
@@ -28,8 +28,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
#if !defined(_LIBCPP_HAS_NO_RANGES)
-// clang-format off
-
// [iterator.concept.readable]
template<class _In>
concept __indirectly_readable_impl =
@@ -259,8 +257,6 @@ concept indirectly_movable_storable =
// Note: indirectly_swappable is located in iter_swap.h to prevent a dependency cycle
// (both iter_swap and indirectly_swappable require indirectly_readable).
-// clang-format on
-
#endif // !defined(_LIBCPP_HAS_NO_RANGES)
_LIBCPP_END_NAMESPACE_STD
diff --git a/libcxx/include/__ranges/concepts.h b/libcxx/include/__ranges/concepts.h
index 6a83640..bad23c8c 100644
--- a/libcxx/include/__ranges/concepts.h
+++ b/libcxx/include/__ranges/concepts.h
@@ -29,8 +29,6 @@
_LIBCPP_BEGIN_NAMESPACE_STD
-// clang-format off
-
#if !defined(_LIBCPP_HAS_NO_RANGES)
namespace ranges {
@@ -126,8 +124,6 @@ namespace ranges {
#endif // !defined(_LIBCPP_HAS_NO_RANGES)
-// clang-format on
-
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP___RANGES_CONCEPTS_H
diff --git a/libcxx/include/__ranges/data.h b/libcxx/include/__ranges/data.h
index 7eade49..a33da0e 100644
--- a/libcxx/include/__ranges/data.h
+++ b/libcxx/include/__ranges/data.h
@@ -26,7 +26,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
#if !defined(_LIBCPP_HAS_NO_RANGES)
-// clang-format off
namespace ranges {
// [range.prim.data]
namespace __data {
@@ -72,8 +71,6 @@ inline namespace __cpo {
} // namespace __cpo
} // namespace ranges
-// clang-format off
-
#endif // !defined(_LIBCPP_HAS_NO_RANGES)
_LIBCPP_END_NAMESPACE_STD
diff --git a/libcxx/include/__ranges/empty.h b/libcxx/include/__ranges/empty.h
index fc6a938..bf6772c 100644
--- a/libcxx/include/__ranges/empty.h
+++ b/libcxx/include/__ranges/empty.h
@@ -24,7 +24,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
#if !defined(_LIBCPP_HAS_NO_RANGES)
-// clang-format off
namespace ranges {
// [range.prim.empty]
namespace __empty {
@@ -72,7 +71,6 @@ inline namespace __cpo {
inline constexpr auto empty = __empty::__fn{};
} // namespace __cpo
} // namespace ranges
-// clang-format off
#endif // !defined(_LIBCPP_HAS_NO_RANGES)