[all-commits] [llvm/llvm-project] 700ff2: [libc++] Hoist <compare> outside the threads guard...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Jun 11 02:17:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 700ff25b03ec747784f1e6a92e076ee009db37aa
      https://github.com/llvm/llvm-project/commit/700ff25b03ec747784f1e6a92e076ee009db37aa
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M libcxx/include/thread

  Log Message:
  -----------
  [libc++] Hoist <compare> outside the threads guard in <thread> (#202535)

The standard mandates [thread.syn] include <compare> as part of
<thread>'s synopsis. This is a standards-mandated dependency, not a
thread-feature dependency, so it should be visible regardless of
_LIBCPP_HAS_THREADS.

This matches how we handle standard-mandated includes elsewhere, see for
example #134877.



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