[all-commits] [llvm/llvm-project] b0b2b2: Revert "[ADT] add StringViewExtras llvm::starts_wi...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Apr 17 13:17:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0b2b2e047caa5a7c4b7e15d4425493f2df18d79
      https://github.com/llvm/llvm-project/commit/b0b2b2e047caa5a7c4b7e15d4425493f2df18d79
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    R llvm/include/llvm/ADT/StringViewExtras.h
    M llvm/unittests/ADT/CMakeLists.txt
    R llvm/unittests/ADT/StringViewExtrasTest.cpp

  Log Message:
  -----------
  Revert "[ADT] add StringViewExtras llvm::starts_with for std::string_view"

This reverts commit d6d30dd9590b41fbcdc88b43767b27a31bfb1c73.

These helpers were added to be used by LLVMDemangle, which would be a
layering violation for that to depend on LLVMSupport. Undo this commit,
and I'll these these directly in LLVMDemangle.

Reviewed By: MaskRay

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




More information about the All-commits mailing list