[libcxx] Add a missing include for __bit_iterator (#127015)
This is to fix compile error with explicit Clang modules like
```
../../third_party/libc++/src/include/__vector/vector_bool.h:85:11: error: default argument of '__bit_iterator' must be imported from module 'std.bit_reference_fwd' before it is required
85 | typedef __bit_iterator<vector, false> pointer;
| ^
../../third_party/libc++/src/include/__fwd/bit_reference.h:23:68: note: default argument declared here is not reachable
23 | template <class _Cp, bool _IsConst, typename _Cp::__storage_type = 0>
| ^
```
(cherry picked from commit 672e3858a4e4b9e155adb72426074ea2af0dd922)
This commit is contained in:
parent
2cc53628fb
commit
424c2d9b7e
@ -17,6 +17,7 @@
|
||||
#include <__bit_reference>
|
||||
#include <__config>
|
||||
#include <__functional/unary_function.h>
|
||||
#include <__fwd/bit_reference.h>
|
||||
#include <__fwd/functional.h>
|
||||
#include <__fwd/vector.h>
|
||||
#include <__iterator/distance.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user