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

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 07:33:13 PDT 2016


rnk added a comment.

I don't feel strongly, but I'll toss in a vote for `take_front` / `take_back`. "Keep" sounds like it's modifying the string in place.


https://reviews.llvm.org/D23965





More information about the llvm-commits mailing list