[all-commits] [llvm/llvm-project] e11b5b: Add Twine support for std::string_view.

Sterling-Augustine via All-commits all-commits at lists.llvm.org
Tue Jun 8 20:30:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e11b5b87bebf2aad41ad769015a21567198291b9
      https://github.com/llvm/llvm-project/commit/e11b5b87bebf2aad41ad769015a21567198291b9
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M llvm/include/llvm/ADT/Twine.h
    M llvm/include/llvm/Support/raw_ostream.h
    M llvm/lib/Support/Twine.cpp
    M llvm/unittests/ADT/TwineTest.cpp

  Log Message:
  -----------
  Add Twine support for std::string_view.

With Twine now ubiquitous after rG92a79dbe91413f685ab19295fc7a6297dbd6c824,
it needs support for string_view when building clang with newer C++ standards.

This is similar to how StringRef is handled.

Differential Revision: https://reviews.llvm.org/D103935




More information about the All-commits mailing list