aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/tuple
diff options
context:
space:
mode:
authorIan Anderson <iana@apple.com>2023-05-06 19:26:49 -0500
committerIan Anderson <iana@apple.com>2023-05-07 19:54:49 -0500
commit79702f7f593dece7afb67fec03df884d50525b96 (patch)
tree6438b61aa09091874cec355c7afb1000c12fee38 /libcxx/include/tuple
parent63959a18e74dbe0bed1532a8b43c811e3181aac7 (diff)
downloadllvm-79702f7f593dece7afb67fec03df884d50525b96.zip
llvm-79702f7f593dece7afb67fec03df884d50525b96.tar.gz
llvm-79702f7f593dece7afb67fec03df884d50525b96.tar.bz2
[libc++][Modules] Add missing includes and exports
Several headers are missing includes for things they use. type_traits.is_enum needs to export type_traits.integral_constant so that clients can access its `value` member without explicitly including __type_traits/integral_constant.h themselves. Make `subrange_fwd` a peer submodule to `subrange` rather than a submodule of it, and have `subrange` export `subrange_fwd`. That will make it easier to programmatically generate modules for the private detail headers, and it will accomplish the same effect that __ranges/subrange.h will make subrange_kind visible. Reviewed By: Mordante, #libc Differential Revision: https://reviews.llvm.org/D150055
Diffstat (limited to 'libcxx/include/tuple')
-rw-r--r--libcxx/include/tuple8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcxx/include/tuple b/libcxx/include/tuple
index f9e9ff2..3c9715f 100644
--- a/libcxx/include/tuple
+++ b/libcxx/include/tuple
@@ -208,8 +208,16 @@ template <class... Types>
#include <__functional/invoke.h>
#include <__functional/unwrap_ref.h>
#include <__fwd/array.h>
+#include <__fwd/tuple.h>
#include <__memory/allocator_arg_t.h>
#include <__memory/uses_allocator.h>
+#include <__tuple/make_tuple_types.h>
+#include <__tuple/sfinae_helpers.h>
+#include <__tuple/tuple_element.h>
+#include <__tuple/tuple_indices.h>
+#include <__tuple/tuple_like_ext.h>
+#include <__tuple/tuple_size.h>
+#include <__tuple/tuple_types.h>
#include <__type_traits/apply_cv.h>
#include <__type_traits/common_reference.h>
#include <__type_traits/common_type.h>