Skip to content

Commit fd858e3

Browse files
atetubougithub-actions[bot]
authored andcommitted
Automerge: [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 672e385)
2 parents 20dd2e4 + 424c2d9 commit fd858e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcxx/include/__vector/vector_bool.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <__bit_reference>
1818
#include <__config>
1919
#include <__functional/unary_function.h>
20+
#include <__fwd/bit_reference.h>
2021
#include <__fwd/functional.h>
2122
#include <__fwd/vector.h>
2223
#include <__iterator/distance.h>

0 commit comments

Comments
 (0)