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

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 4 07:56:30 PDT 2025


kuhar wrote:

I'm -1 on the renaming -- `pop_*_val` change the underlying container contents, whereas `consume_` only adjust pointers. This is consistent with the naming in `StringRef`.

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


More information about the llvm-commits mailing list