[PATCH] D103935: Add Twine support for std::string_view.

Sterling Augustine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 19:51:37 PDT 2021


saugustine updated this revision to Diff 350765.
saugustine added a comment.

This addresses the upstream comments.

It also adds a string_view overload for raw_ostream, as now that
a string_view can be converted to both a Twine and a StringRef,
those calls would be ambiguous.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103935/new/

https://reviews.llvm.org/D103935

Files:
  llvm/include/llvm/ADT/Twine.h
  llvm/include/llvm/Support/raw_ostream.h
  llvm/lib/Support/Twine.cpp
  llvm/unittests/ADT/TwineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103935.350765.patch
Type: text/x-patch
Size: 5022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210609/22f58b20/attachment.bin>


More information about the llvm-commits mailing list