[all-commits] [llvm/llvm-project] 9654df: [ADT] Add StringSet::insert_range (#131957)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Mar 19 07:13:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9654df3f5e8f898341717ac25097dba6f667c356
      https://github.com/llvm/llvm-project/commit/9654df3f5e8f898341717ac25097dba6f667c356
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M llvm/include/llvm/ADT/StringSet.h
    M llvm/unittests/ADT/StringSetTest.cpp

  Log Message:
  -----------
  [ADT] Add StringSet::insert_range (#131957)

This pach adds StringSet::insert_range for consistency with
DenseSet::insert_range and std::set::insert_range from C++23.

In the unit test, I'm using contains instead of
testing::UnorderedElementsAre because the latter doesn't seem to work
with char *.



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