[PATCH] D23981: Add StringRef::scan_between

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 15:07:08 PDT 2016

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

TBH, this seems like a rather specialized use case of StringRef...  I don't think it is appropriate to grow this sort of parsing machinery here.

I'd avoid making it a member of the general interface and just sink this method into your particular use case as a function.


More information about the llvm-commits mailing list