[all-commits] [llvm/llvm-project] 424c2d: [libcxx] Add a missing include for __bit_iterator ...
Takuto Ikuta via All-commits
all-commits at lists.llvm.org
Tue Mar 18 16:15:55 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: 424c2d9b7e4de40d0804dd374721e6411c27d1d1
https://github.com/llvm/llvm-project/commit/424c2d9b7e4de40d0804dd374721e6411c27d1d1
Author: Takuto Ikuta <tikuta at google.com>
Date: 2025-03-18 (Tue, 18 Mar 2025)
Changed paths:
M libcxx/include/__vector/vector_bool.h
Log Message:
-----------
[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)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list