[PATCH] D72556: [llvm][adt] Added TrimChars parameter to StringRef::Split

Nathan James via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 11 07:06:09 PST 2020


njames93 created this revision.
njames93 added a project: LLVM.
Herald added subscribers: llvm-commits, dexonsmith, hiraditya.

The overloads of StringRef::Split(SmallVector...) now have a 5th parameter called TrimChars which will trim substrings before adding them to the output vector


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72556

Files:
  llvm/include/llvm/ADT/StringRef.h
  llvm/lib/Support/StringRef.cpp
  llvm/unittests/ADT/StringRefTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72556.237498.patch
Type: text/x-patch
Size: 5893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200111/448f663b/attachment.bin>


More information about the llvm-commits mailing list