[all-commits] [llvm/llvm-project] 93a971: [STLExtras] Allow for non-member `begin`/`end` in ...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Tue Feb 21 10:38:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93a971ccf8a4576da284648ff1e7cbb247e5c887
      https://github.com/llvm/llvm-project/commit/93a971ccf8a4576da284648ff1e7cbb247e5c887
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

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

  Log Message:
  -----------
  [STLExtras] Allow for non-member `begin`/`end` in `append_range`

This makes `append_range` useable with, C arrays and types with custom
`begin`/`end` functions.

Reviewed By: kazu

Differential Revision: https://reviews.llvm.org/D144420




More information about the All-commits mailing list