aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/tuple
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2022-09-02 17:53:28 +0200
committerMark de Wever <koraq@xs4all.nl>2022-09-03 10:06:16 +0200
commite31c2a1b1a643861f25ba0145cb4701c999fc6c2 (patch)
tree3e7d96c75c828741667802ca202046f8bd56e152 /libcxx/include/tuple
parentff06c2ded367d71eee6e879b4c9934af35d7a7e8 (diff)
downloadllvm-e31c2a1b1a643861f25ba0145cb4701c999fc6c2.zip
llvm-e31c2a1b1a643861f25ba0145cb4701c999fc6c2.tar.gz
llvm-e31c2a1b1a643861f25ba0145cb4701c999fc6c2.tar.bz2
[NFC][libc++] Moves transitive includes location.
As discussed in D132284 they will be moved to the end. Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D133212
Diffstat (limited to 'libcxx/include/tuple')
-rw-r--r--libcxx/include/tuple16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/include/tuple b/libcxx/include/tuple
index 01c59b3..7bf2f91 100644
--- a/libcxx/include/tuple
+++ b/libcxx/include/tuple
@@ -220,14 +220,6 @@ template <class... Types>
#include <type_traits>
#include <version>
-#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
-# include <exception>
-# include <iosfwd>
-# include <new>
-# include <typeinfo>
-# include <utility>
-#endif
-
// standard-mandated includes
#include <compare>
@@ -1825,4 +1817,12 @@ _LIBCPP_NOEXCEPT_RETURN(
_LIBCPP_END_NAMESPACE_STD
+#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
+# include <exception>
+# include <iosfwd>
+# include <new>
+# include <typeinfo>
+# include <utility>
+#endif
+
#endif // _LIBCPP_TUPLE