This is an archive of the discontinued LLVM Phabricator instance.

Revert "[ADT] add StringViewExtras llvm::starts_with for std::string_view"
ClosedPublic

Authored by nickdesaulniers on Apr 17 2023, 10:57 AM.

Details

Summary

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.

Diff Detail

llvm/include/llvm/ADT/StringViewExtras.h