[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 14:28:56 PDT 2021


lattner added a comment.

Oh, I completely missed that.  I would recommend using the word case_insensitive here.  I don't think stringref has any other case insensitive support, and I don't think this is the obvious place to start.  I would start with case insensitive equality comparison.  Your client can use that as a primitive that it builds higher level functionality on top of.

-Chris


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