[all-commits] [llvm/llvm-project] 825903: [orc-rt] make bind_front match std::bind_front sem...

Lang Hames via All-commits all-commits at lists.llvm.org
Fri Sep 25 23:56:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 825903711948134578537eda6dd94a488ed50319
      https://github.com/llvm/llvm-project/commit/825903711948134578537eda6dd94a488ed50319
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-26 (Sat, 26 Sep 2026)

  Changed paths:
    M orc-rt/include/orc-rt/support/bind.h
    M orc-rt/test/unit/support/bind-test.cpp

  Log Message:
  -----------
  [orc-rt] make bind_front match std::bind_front semantics. (#226646)

orc_rt::bind_front stands in for std::bind_front until the ORC runtime
can use C++20, so code written against it should keep working after the
switch. This commit brings its behavior in line with std::bind_front:

- noexcept propagation
- const and rvalue call operators, forwarding the wrapper's qualifiers
- no fallback to a differently-qualified call operator
- reference return types
- member pointers
- copyable wrappers, including nested binds

The unit tests are reorganized and extended to cover these.

Assisted-by: Claude



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