[all-commits] [llvm/llvm-project] d6d502: [libc++] Avoid transitive inclusion for `<__algori...

A. Jiang via All-commits all-commits at lists.llvm.org
Thu Oct 9 02:58:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6d5026b5107b940d7a7853ab16480f83c14384d
      https://github.com/llvm/llvm-project/commit/d6d5026b5107b940d7a7853ab16480f83c14384d
  Author: A. Jiang <de34 at live.cn>
  Date:   2025-10-09 (Thu, 09 Oct 2025)

  Changed paths:
    M libcxx/include/__algorithm/find.h

  Log Message:
  -----------
  [libc++] Avoid transitive inclusion for `<__algorithm/find.h>` (#162508)

Currently, `size_t` and `__libcpp_is_constant_evaluated` are obtained by
transitive inclusion in `<__algorithm/find.h>` when `<cwchar>` is not
included. This broke module build when `_LIBCPP_HAS_WIDE_CHARACTERS` is
`1` and caused CI failure. We should explicitly include the
corresponding internal headers.



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