[all-commits] [llvm/llvm-project] ee6abf: [StringView] remove popFront

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Fri Apr 14 13:14:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee6abfc5ea469e5f6e35c8423b6b7dceccd39430
      https://github.com/llvm/llvm-project/commit/ee6abfc5ea469e5f6e35c8423b6b7dceccd39430
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M llvm/include/llvm/Demangle/StringView.h
    M llvm/lib/Demangle/MicrosoftDemangle.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list