[all-commits] [llvm/llvm-project] e8f85c: [ArrayRef] Bring MutableArrayRef's constructor in ...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Thu Jun 26 02:16:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8f85cf51fb9583767cd8ec23cc7eaeacbe2be35
      https://github.com/llvm/llvm-project/commit/e8f85cf51fb9583767cd8ec23cc7eaeacbe2be35
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/include/llvm/ADT/ArrayRef.h
    M llvm/unittests/ADT/ArrayRefTest.cpp

  Log Message:
  -----------
  [ArrayRef] Bring MutableArrayRef's constructor in line with ArrayRef

This time when the argument has a data member returning a mutable
pointer.


  Commit: 8b3e345002f39e288109e0d0c1a54d76a1e0bc9d
      https://github.com/llvm/llvm-project/commit/8b3e345002f39e288109e0d0c1a54d76a1e0bc9d
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/include/llvm/ADT/TinyPtrVector.h

  Log Message:
  -----------
  [ADT] Clean up TinyPtrVector

- Remove implicit ArrayRef conversion, ArrayRef has conversions now.
- Remove extra dyn_casts if the TinyPtrVector can only be a big vector

No functionality change intended.


Compare: https://github.com/llvm/llvm-project/compare/d144eb1d8cd3...8b3e345002f3

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