[libcxx-commits] [PATCH] D111512: [libc++] Remove empty namespace std in type_traits. NFCI.
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Oct 10 11:29:00 PDT 2021
jloser created this revision.
jloser added reviewers: ldionne, Quuxplusone, Mordante.
jloser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
There is an empty `namespace std` in `type_traits` which was originally
used when `std::byte` was added in
c97d8aa86650ed795bf75a7dd735ecfaef3b8f55. At some point, the bitwise operators
on `std::byte` got relocated but this empty namespace was left around.
Remove it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111512
Files:
libcxx/include/type_traits
Index: libcxx/include/type_traits
===================================================================
--- libcxx/include/type_traits
+++ libcxx/include/type_traits
@@ -4175,13 +4175,4 @@
_LIBCPP_END_NAMESPACE_STD
-#if _LIBCPP_STD_VER > 14
-// std::byte
-namespace std // purposefully not versioned
-{
-
-
-}
-#endif
-
#endif // _LIBCPP_TYPE_TRAITS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111512.378522.patch
Type: text/x-patch
Size: 355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211010/350e1163/attachment.bin>
More information about the libcxx-commits
mailing list