[llvm] [NFCI][LLVM] Adopt `ArrayRef::consume_front()` in a few places (PR #146793)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 4 07:59:55 PDT 2025


jurahul wrote:

Abstractly, the contents of the ArrayRef do change after this. It has one less element. The fact that it's achieved by pointer manipulation is a detail because ArrayRef does not own the underlying data.

However, I am ok either way in the renaming.

https://github.com/llvm/llvm-project/pull/146793


More information about the llvm-commits mailing list