[all-commits] [llvm/llvm-project] 317f78: [ADT] Return bool from SmallPtrSet::remove_if()

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jun 26 05:29:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 317f782ef2366950e6cdc0de9d35df7fcc15ec5d
      https://github.com/llvm/llvm-project/commit/317f782ef2366950e6cdc0de9d35df7fcc15ec5d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ADT/SmallPtrSet.h
    M llvm/unittests/ADT/SmallPtrSetTest.cpp

  Log Message:
  -----------
  [ADT] Return bool from SmallPtrSet::remove_if()

Return whether anything was removed. This matches the API of
SetVector::remove_if() and is convenient for some future uses.



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