mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 13:26:45 +00:00
[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> | ^ ```
This commit is contained in:
parent
75c356c488
commit
672e3858a4
@ -18,6 +18,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