[PATCH] D24880: Add StringExtras join_items function

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 13:32:03 PDT 2016


zturner updated this revision to Diff 72340.
zturner added a comment.

Added some tests to show that it works when you use operands of different types.

Also templatized the separator so that it can be a `char` (or anything else for that matter), and not just a `StringRef`.


https://reviews.llvm.org/D24880

Files:
  include/llvm/ADT/StringExtras.h
  unittests/ADT/CMakeLists.txt
  unittests/ADT/StringExtrasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24880.72340.patch
Type: text/x-patch
Size: 4004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160923/3614964c/attachment.bin>


More information about the llvm-commits mailing list