[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 17:03:42 PDT 2021


saugustine created this revision.
Herald added subscribers: dexonsmith, hiraditya.
saugustine requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

With Twine now ubiquitous after rG92a79dbe91413f685ab19295fc7a6297dbd6c824 <https://reviews.llvm.org/rG92a79dbe91413f685ab19295fc7a6297dbd6c824>,
it needs support for string_view when building clang with newer C++ standards.

This is similar to how StringRef is handled.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103935

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

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


More information about the llvm-commits mailing list