[all-commits] [llvm/llvm-project] b0dce9: [ADT] use correct iterator_facade_base for SmallSe...

Fedor Sergeev via All-commits all-commits at lists.llvm.org
Wed Feb 11 15:09:40 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0dce9ef48b770d7223f300c7bb32b473f42d7dd
      https://github.com/llvm/llvm-project/commit/b0dce9ef48b770d7223f300c7bb32b473f42d7dd
  Author: Fedor Sergeev <fedor.v.sergeev at gmail.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M llvm/include/llvm/ADT/SmallSet.h
    M llvm/unittests/ADT/SmallSetTest.cpp

  Log Message:
  -----------
  [ADT] use correct iterator_facade_base for SmallSetIterator (#180967)

SmallSetIterator is inherently constant. Now it is properly expressed
through passing const to PointerT/ReferenceT parameters of its base
class. This way wrappers like make_filter_range do not try to treat
SmallSetIterator as non-constant.

Fixes #179139



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