[all-commits] [llvm/llvm-project] 672e38: [libcxx] Add a missing include for __bit_iterator ...

Takuto Ikuta via All-commits all-commits at lists.llvm.org
Wed Feb 12 23:55:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 672e3858a4e4b9e155adb72426074ea2af0dd922
      https://github.com/llvm/llvm-project/commit/672e3858a4e4b9e155adb72426074ea2af0dd922
  Author: Takuto Ikuta <tikuta at google.com>
  Date:   2025-02-13 (Thu, 13 Feb 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>
      |                                                                    ^
```



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