[all-commits] [llvm/llvm-project] 26ec66: [llvm] Use a new constructor of ArrayRef (NFC) (#1...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Jun 26 23:38:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26ec66dc1825824790912aeda85ac998a8374cff
      https://github.com/llvm/llvm-project/commit/26ec66dc1825824790912aeda85ac998a8374cff
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h
    M llvm/lib/ExecutionEngine/JITLink/XCOFFLinkGraphBuilder.cpp
    M llvm/lib/ExecutionEngine/Orc/SectCreate.cpp
    M llvm/lib/Object/OffloadBundle.cpp
    M llvm/lib/XRay/FDRTraceWriter.cpp
    M llvm/tools/llvm-mc/Disassembler.cpp
    M llvm/tools/llvm-ml/Disassembler.cpp
    M llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
    M llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp
    M llvm/unittests/Support/Base64Test.cpp

  Log Message:
  -----------
  [llvm] Use a new constructor of ArrayRef (NFC) (#146008)

ArrayRef now has a new constructor that takes a parameter whose type
has data() and size().  This patch migrates:

  ArrayRef<T>(X.data(), X.size()

to:

  ArrayRef<T>(X)



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