[all-commits] [llvm/llvm-project] 8c5d76: [SandboxIR][Tracker][NFC] GenericSetterWithIdx (#1...

vporpo via All-commits all-commits at lists.llvm.org
Fri Aug 16 13:17:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c5d76ac508ece0b41cfd33247d1f0551c80a9e8
      https://github.com/llvm/llvm-project/commit/8c5d76ac508ece0b41cfd33247d1f0551c80a9e8
  Author: vporpo <vporpodas at google.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/Tracker.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/lib/SandboxIR/Tracker.cpp

  Log Message:
  -----------
  [SandboxIR][Tracker][NFC] GenericSetterWithIdx (#104615)

This patch adds a generic change tracker class, similar to
GenericSetter, but for getter/setter functions that also take an index
argument. For example: `Foo:get(Idx)` and `Foo::set(Idx, Val)`. These
setter/getter patterns are common enough that using a common
implementation seems beneficial.



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