[all-commits] [llvm/llvm-project] f9dca5: [ADT] Add convenience function `filter_to_vector` ...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon Nov 25 07:27:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9dca5bdbb0fccc0c12c7f8f1a190fa05f72f90d
      https://github.com/llvm/llvm-project/commit/f9dca5bdbb0fccc0c12c7f8f1a190fa05f72f90d
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M llvm/include/llvm/ADT/SmallVectorExtras.h
    M llvm/unittests/ADT/CMakeLists.txt
    A llvm/unittests/ADT/SmallVectorExtrasTest.cpp

  Log Message:
  -----------
  [ADT] Add convenience function `filter_to_vector` (#117460)

This materializes a filter range as a small vector.

Similar to `map_to_vector`, this new utility function lives in the
`SmallVectorExtras.h` header.



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