[PATCH] D148363: [StringView] remove popFront

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 12:05:49 PDT 2023


nickdesaulniers created this revision.
nickdesaulniers added reviewers: MaskRay, erichkeane.
Herald added a subscriber: hiraditya.
Herald added a project: All.
nickdesaulniers requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148363

Files:
  llvm/include/llvm/Demangle/StringView.h
  llvm/lib/Demangle/MicrosoftDemangle.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148363.513706.patch
Type: text/x-patch
Size: 7264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/f87c91ae/attachment.bin>


More information about the llvm-commits mailing list