[all-commits] [llvm/llvm-project] c8f3d2: [ADT] Allow reverse to find free rbegin/rend funct...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Fri Apr 5 19:40:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8f3d211fc428dd6075440ac22f48641436545d0
      https://github.com/llvm/llvm-project/commit/c8f3d211fc428dd6075440ac22f48641436545d0
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/include/llvm/ADT/ADL.h
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/unittests/ADT/IteratorTest.cpp
    M llvm/unittests/ADT/RangeAdapterTest.cpp
    M llvm/unittests/ADT/STLExtrasTest.cpp

  Log Message:
  -----------
  [ADT] Allow reverse to find free rbegin/rend functions (#87840)

Lift the requirement that rbegin/rend must be member functions. Also
allow the rbegin/rend to be found through Argument Dependent Lookup
(ADL) and add `adl_rbegin`/`adl_rend` to STLExtras.



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