[all-commits] [llvm/llvm-project] 4379d2: [ADT] Add DenseSet(llvm::from_t, Range) (#131832)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Mar 22 18:18:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4379d22013185221e09ec0c2cbbaf006323f64b5
      https://github.com/llvm/llvm-project/commit/4379d22013185221e09ec0c2cbbaf006323f64b5
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-03-22 (Sat, 22 Mar 2025)

  Changed paths:
    M llvm/include/llvm/ADT/DenseSet.h
    M llvm/include/llvm/ADT/STLForwardCompat.h
    M llvm/unittests/ADT/DenseSetTest.cpp

  Log Message:
  -----------
  [ADT] Add DenseSet(llvm::from_t, Range) (#131832)

This patch adds a constructor of the form:

  DenseSet Set(llvm::from_range, Range)

while forward-porting std::from_range from c++23.



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