Skip to content

Commit 48e862d

Browse files
committed
[libcxx] Add missing includes
This fixes the remaining errors when building the llvm-project with `LLVM_ENABLE_MODULES=ON` (and `LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY=ON`, which currently is the LLVM default). Previously this would fail in the `CXX_SUPPORTS_MODULES` check. Differential Revision: https://reviews.llvm.org/D141833
1 parent 0f42221 commit 48e862d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libcxx/include/__iterator/bounded_iter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <__iterator/iterator_traits.h>
1616
#include <__memory/pointer_traits.h>
1717
#include <__type_traits/enable_if.h>
18+
#include <__type_traits/integral_constant.h>
1819
#include <__type_traits/is_convertible.h>
1920
#include <__utility/move.h>
2021

libcxx/include/__iterator/move_iterator.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
#include <__type_traits/enable_if.h>
2929
#include <__type_traits/is_assignable.h>
3030
#include <__type_traits/is_constructible.h>
31+
#include <__type_traits/is_convertible.h>
3132
#include <__type_traits/is_reference.h>
3233
#include <__type_traits/is_same.h>
34+
#include <__type_traits/remove_reference.h>
3335
#include <__utility/declval.h>
3436
#include <__utility/move.h>
3537

0 commit comments

Comments
 (0)