[PATCH] D23965: Add StringRef::keep_front() and StringRef::keep_back()

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 27 20:36:14 PDT 2016


majnemer added a subscriber: majnemer.
majnemer added a comment.

Sounds like a useful API.  The term I've heard of in other programing languages is "take", I think `take_front` and `take_back` might be a little nicer.


https://reviews.llvm.org/D23965





More information about the llvm-commits mailing list