[libcxx-commits] [libcxx] a3f8790 - [libc++][NFC] Minor reformatting in <cstddef>
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 30 12:38:13 PDT 2024
Author: Louis Dionne
Date: 2024-08-30T15:38:02-04:00
New Revision: a3f8790901cafaec8bcd863bd30b4f9ab7917bd8
URL: https://github.com/llvm/llvm-project/commit/a3f8790901cafaec8bcd863bd30b4f9ab7917bd8
DIFF: https://github.com/llvm/llvm-project/commit/a3f8790901cafaec8bcd863bd30b4f9ab7917bd8.diff
LOG: [libc++][NFC] Minor reformatting in <cstddef>
Added:
Modified:
libcxx/include/cstddef
Removed:
################################################################################
diff --git a/libcxx/include/cstddef b/libcxx/include/cstddef
index 1a4049e4d34f2d..592f6261a6de3f 100644
--- a/libcxx/include/cstddef
+++ b/libcxx/include/cstddef
@@ -66,8 +66,8 @@ using ::max_align_t _LIBCPP_USING_IF_EXISTS;
_LIBCPP_END_NAMESPACE_STD
#if _LIBCPP_STD_VER >= 17
-namespace std // purposefully not versioned
-{
+namespace std { // purposefully not versioned
+
enum class byte : unsigned char {};
_LIBCPP_HIDE_FROM_ABI inline constexpr byte operator|(byte __lhs, byte __rhs) noexcept {
@@ -127,7 +127,6 @@ template <class _Integer, __enable_if_t<is_integral<_Integer>::value, int> = 0>
}
} // namespace std
-
-#endif
+#endif // _LIBCPP_STD_VER >= 17
#endif // _LIBCPP_CSTDDEF
More information about the libcxx-commits
mailing list