Skip to content

Commit 67b37af

Browse files
[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
1 parent c636274 commit 67b37af

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

libcxx/include/__memory_resource/memory_resource.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <__availability>
1313
#include <__config>
14+
#include <__fwd/memory_resource.h>
1415
#include <cstddef>
1516

1617
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)

libcxx/include/array

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ template <size_t I, class T, size_t N> const T&& get(const array<T, N>&&) noexce
118118
#include <__algorithm/swap_ranges.h>
119119
#include <__assert> // all public C++ headers provide the assertion handler
120120
#include <__config>
121+
#include <__fwd/array.h>
121122
#include <__iterator/reverse_iterator.h>
122123
#include <__tuple/sfinae_helpers.h>
123124
#include <__type_traits/conditional.h>

libcxx/include/tuple

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ template <class... Types>
207207
#include <__config>
208208
#include <__functional/invoke.h>
209209
#include <__fwd/array.h>
210+
#include <__fwd/get.h>
210211
#include <__fwd/tuple.h>
211212
#include <__memory/allocator_arg_t.h>
212213
#include <__memory/uses_allocator.h>

0 commit comments

Comments
 (0)