[all-commits] [llvm/llvm-project] 5e53e1: [StringView] remove consumeFront
Nick Desaulniers via All-commits
all-commits at lists.llvm.org
Fri Apr 14 15:34:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5e53e1bbc34fe563b740364d7329ca0bd123f9ff
https://github.com/llvm/llvm-project/commit/5e53e1bbc34fe563b740364d7329ca0bd123f9ff
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M llvm/include/llvm/Demangle/ItaniumDemangle.h
M llvm/include/llvm/Demangle/StringView.h
M llvm/lib/Demangle/MicrosoftDemangle.cpp
M llvm/lib/Demangle/RustDemangle.cpp
Log Message:
-----------
[StringView] remove consumeFront
Towards converting our use of llvm::StringView to std::string_view,
remove a method that std::string_view doesn't have.
This could be moved to the nascent llvm/ADT/StringViewExtras.h, but the
use is highly localized to one TU. Move this to be a static function
there.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D148375
More information about the All-commits
mailing list