[all-commits] [llvm/llvm-project] ad5b3e: [ADT]Add helper function to return a ArrayRef of M...

Mingming Liu via All-commits all-commits at lists.llvm.org
Tue May 6 11:27:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad5b3e01fbc81337ad8d91663fc6d0624a251e14
      https://github.com/llvm/llvm-project/commit/ad5b3e01fbc81337ad8d91663fc6d0624a251e14
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M llvm/include/llvm/ADT/MapVector.h
    M llvm/unittests/ADT/MapVectorTest.cpp

  Log Message:
  -----------
  [ADT]Add helper function to return a ArrayRef of MapVector's underlying vector (#138726)

SetVector currently has a [similar
method](https://github.com/llvm/llvm-project/blob/c956ed06dc1c1b340d0c589c472c438b9220b36d/llvm/include/llvm/ADT/SetVector.h#L90),
and https://github.com/llvm/llvm-project/pull/138170 has a use case to
get an ArrayRef of MapVector's underlying vector.



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