[PATCH] D104218: [ADT] Add StringRef consume_front_lower and consume_back_lower
Chris Lattner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 15 10:36:55 PDT 2021
lattner added a comment.
I was thinking that the closure would take a character, not a stringref. So you could do something like `str.consume_back(islower)`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104218/new/
https://reviews.llvm.org/D104218
More information about the llvm-commits
mailing list