Skip to content

Commit

Permalink
[libc++][Modules] Add missing __fwd includes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ian-twilightcoder committed Jul 7, 2023
1 parent c636274 commit 67b37af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libcxx/include/__memory_resource/memory_resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <__availability>
#include <__config>
#include <__fwd/memory_resource.h>
#include <cstddef>

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Expand Down
1 change: 1 addition & 0 deletions libcxx/include/array
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions libcxx/include/tuple
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 67b37af

Please sign in to comment.