[PATCH] D148348: [StringView] remove dropFront
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 14 10:04:29 PDT 2023
nickdesaulniers added inline comments.
================
Comment at: llvm/include/llvm/Demangle/StringView.h:66-70
+ StringView dropBack(size_t N = 1) const {
+ if (N >= size())
+ N = size();
+ return StringView(First, Last - N);
+ }
----------------
needs a rebase on 3ece37b3fa2c14157ad02967b867570c6a0c08e8
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148348/new/
https://reviews.llvm.org/D148348
More information about the llvm-commits
mailing list