[all-commits] [llvm/llvm-project] 8f7165: [clang] Use a new constructor of ArrayRef (NFC) (#...

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


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

  Changed paths:
    M clang/lib/APINotes/APINotesWriter.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/Driver/OffloadBundler.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaTemplate.cpp

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

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