[RustDemangle] remove StringView::dropFront
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 14 Apr 2023 16:18:04 +0000 (09:18 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Fri, 14 Apr 2023 16:18:07 +0000 (09:18 -0700)
commitc8144eea9eff03a6a803d8e5dc45776f035486af
treed9bdf1d43563f32e2a12b7e9f81ea3baa0628f35
parent6cdfa295743729178ff6f15a8dcd36f8f7d27c2c
[RustDemangle] remove StringView::dropFront

Toward the goal of replacing llvm::StringView with std::string_view,
first replacing users of llvm::StringView::dropFront, this case in the
Rust demangling scheme seemed worth its own commit+review.

Reviewed By: erichkeane, MaskRay

Differential Revision: https://reviews.llvm.org/D148272
llvm/lib/Demangle/RustDemangle.cpp