[all-commits] [llvm/llvm-project] 0cfd03: [ProfileData] Use ArrayRef in PatchItem (NFC) (#97...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Tue Jul 2 22:58:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cfd03ac0d3f9713090a581bda07584754c73a49
      https://github.com/llvm/llvm-project/commit/0cfd03ac0d3f9713090a581bda07584754c73a49
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/ProfileData/InstrProfWriter.cpp

  Log Message:
  -----------
  [ProfileData] Use ArrayRef in PatchItem (NFC) (#97379)

Packaging an array and its size as ArrayRef in PatchItem allows us to
get rid of things like std::size(Header) and HeaderOffsets.size().



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