[all-commits] [llvm/llvm-project] c88352: [ADT] Use `adl_begin`/`end` in `replace`. (#130523)

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon Mar 10 14:54:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c88352d2e92fb28abc39f9a393bdb2f1d6729a4e
      https://github.com/llvm/llvm-project/commit/c88352d2e92fb28abc39f9a393bdb2f1d6729a4e
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

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

  Log Message:
  -----------
  [ADT] Use `adl_begin`/`end` in `replace`. (#130523)

This is to make sure that ADT helpers consistently use argument
dependent lookup when dealing with input ranges.

This was a part of #87936 but reverted due to buildbot failures.

Also clean up the implementation to adhere to the llvm coding standards.



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