[all-commits] [llvm/llvm-project] 2689ab: [IR] Consolidate ValueMap iterator classes (NFC) (...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Oct 3 23:47:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2689abab42c98abb3bdeb8aad38744d3153c0c6b
      https://github.com/llvm/llvm-project/commit/2689abab42c98abb3bdeb8aad38744d3153c0c6b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M llvm/include/llvm/IR/ValueMap.h

  Log Message:
  -----------
  [IR] Consolidate ValueMap iterator classes (NFC) (#161777)

This patch consolidates ValueMapIterator and ValueMapConstIterator
into ValueMapIteratorImpl.  ValueMapIteratorImpl takes a boolean
template parameter to determine whether it should act as a const
iterator or a non-const one.  ValueMapIterator and
ValueMapConstIterator are now type aliases of ValueMapIteratorImpl.



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