[StringView] remove popFront
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 14 Apr 2023 20:09:01 +0000 (13:09 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Fri, 14 Apr 2023 20:13:46 +0000 (13:13 -0700)
commitee6abfc5ea469e5f6e35c8423b6b7dceccd39430
treed4e45ee341bf0ba8db78333dcb25155d7ebf5935
parentbb15bf72580c5f3286b4b5a9798eff9e24ab0ef4
[StringView] remove popFront

Towards converting our use of llvm::StringView to std::string_view,
remove a method that std::string_view doesn't have.

llvm::StringView::popFront is similar to std::string_view::remove_prefix
but with a reference to std::string_view::front taken first.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D148363
llvm/include/llvm/Demangle/StringView.h
llvm/lib/Demangle/MicrosoftDemangle.cpp