[all-commits] [llvm/llvm-project] 364d7e: [lldb] Use StringRef::starts_with (NFC)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun Dec 17 15:52:04 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 364d7e775fcad5ef20a5c5788586f79c467b47db
https://github.com/llvm/llvm-project/commit/364d7e775fcad5ef20a5c5788586f79c467b47db
Author: Kazu Hirata <kazu at google.com>
Date: 2023-12-17 (Sun, 17 Dec 2023)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
Log Message:
-----------
[lldb] Use StringRef::starts_with (NFC)
This patch replaces uses of StringRef::startswith with
StringRef::starts_with for consistency with
std::{string,string_view}::starts_with in C++20.
I'm planning to deprecate and eventually remove
StringRef::{starts,ends}with.
More information about the All-commits
mailing list