[libc++][Modules] Add missing __fwd includes

A few __fwd includes are missing from public modules that will become noticeable when the private submodules are split into their own top level modules (D144322). Add the missing includes.

Reviewed By: ldionne, philnik, #libc

Differential Revision: https://reviews.llvm.org/D153216
This commit is contained in:
Ian Anderson 2023-06-05 12:32:07 -07:00
parent c636274e27
commit 67b37af4cd
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#include <__availability>
#include <__config>
#include <__fwd/memory_resource.h>
#include <cstddef>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)

View File

@ -118,6 +118,7 @@ template <size_t I, class T, size_t N> const T&& get(const array<T, N>&&) noexce
#include <__algorithm/swap_ranges.h>
#include <__assert> // all public C++ headers provide the assertion handler
#include <__config>
#include <__fwd/array.h>
#include <__iterator/reverse_iterator.h>
#include <__tuple/sfinae_helpers.h>
#include <__type_traits/conditional.h>

View File

@ -207,6 +207,7 @@ template <class... Types>
#include <__config>
#include <__functional/invoke.h>
#include <__fwd/array.h>
#include <__fwd/get.h>
#include <__fwd/tuple.h>
#include <__memory/allocator_arg_t.h>
#include <__memory/uses_allocator.h>