[all-commits] [llvm/llvm-project] 0175dc: [ADT] Add a range constructor to SmallSetVector (#...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Mar 23 19:13:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0175dce1380de64f4e0f627093b8f4858e354431
      https://github.com/llvm/llvm-project/commit/0175dce1380de64f4e0f627093b8f4858e354431
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-03-23 (Sun, 23 Mar 2025)

  Changed paths:
    M llvm/include/llvm/ADT/SetVector.h
    M llvm/unittests/ADT/SetVectorTest.cpp

  Log Message:
  -----------
  [ADT] Add a range constructor to SmallSetVector (#132645)

DenseSet recently gained a range constructor:

  DenseSet<T> Dest(llvm::from_range, Src);

This patch adds the same signature to SmallSetVector for consistency.



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