llvm-project
27257654 - [LLVM][ADT] Add `consume_front` and `consume_back` to ArrayRef (#146741)

Commit
212 days ago
[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.
Author
Parents
Loading