[PATCH] D24842: Add StringRef {take, drop} x {_while, _until}

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 22:10:59 PDT 2016


sanjoy added a subscriber: sanjoy.
sanjoy added a comment.

Have you considered adding `StringRef(iterator, iterator)` constructor, and replacing the explicit loops with `std::find_if` and `std::find_if_not`.


https://reviews.llvm.org/D24842





More information about the llvm-commits mailing list