Revert "[ADT] add StringViewExtras llvm::starts_with for std::string_view"
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 17 Apr 2023 20:10:16 +0000 (13:10 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Mon, 17 Apr 2023 20:16:52 +0000 (13:16 -0700)
commitb0b2b2e047caa5a7c4b7e15d4425493f2df18d79
tree0582bad6413652253b557786c614ee2bb493cc81
parent96005d75b29df315f74978cb0b7602b35f663b75
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
llvm/include/llvm/ADT/StringViewExtras.h [deleted file]
llvm/unittests/ADT/CMakeLists.txt
llvm/unittests/ADT/StringViewExtrasTest.cpp [deleted file]