[all-commits] [llvm/llvm-project] 272576: [LLVM][ADT] Add `consume_front` and `consume_back`...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Wed Jul 2 13:32:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27257654324631a495f718e50c8e5a4530ea2e8f
https://github.com/llvm/llvm-project/commit/27257654324631a495f718e50c8e5a4530ea2e8f
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M llvm/include/llvm/ADT/ArrayRef.h
M llvm/unittests/ADT/ArrayRefTest.cpp
Log Message:
-----------
[LLVM][ADT] Add `consume_front` and `consume_back` to ArrayRef (#146741)
Add `consume_front` that returns the first element and drops it from the
current ArrayRef, and `consume_back` that returns the last element and
drops it from the current ArrayRef.
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