[all-commits] [llvm/llvm-project] 691c48: [libcxxabi][demangle] create helper for std::strin...
Nick Desaulniers via All-commits
all-commits at lists.llvm.org
Thu Apr 20 10:19:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 691c4800be8018d8ad03f0e25be3672acbdfe403
https://github.com/llvm/llvm-project/commit/691c4800be8018d8ad03f0e25be3672acbdfe403
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M clang/docs/tools/clang-formatted-files.txt
A libcxxabi/src/demangle/StringViewExtras.h
M libcxxabi/src/demangle/cp-to-llvm.sh
A llvm/include/llvm/Demangle/StringViewExtras.h
Log Message:
-----------
[libcxxabi][demangle] create helper for std::string_view::starts_with
Add C++ 20 style starts_with to replace StringView::startsWith in
LLVMDemangle. Due to library layering (LLVMSupport depends on
LLVMDemangle), we add the utility header under llvm/Demangle, instead of
llvm/ADT or llvm/Support.
Modify this in libcxxabi, then copy this over to llvm.
Reviewed By: MaskRay, #libc_abi, phosek
Differential Revision: https://reviews.llvm.org/D148556
More information about the All-commits
mailing list