From 79702f7f593dece7afb67fec03df884d50525b96 Mon Sep 17 00:00:00 2001 From: Ian Anderson Date: Sat, 6 May 2023 19:26:49 -0500 Subject: [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 --- libcxx/include/tuple | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libcxx/include/tuple') 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 #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> -- cgit v1.1