[all-commits] [llvm/llvm-project] ee667d: [lldb] Use StringRef::{starts, ends}_with (NFC)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sat Dec 16 15:02:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee667db4b83eb6171bbceca1010cddd0da6f17ca
https://github.com/llvm/llvm-project/commit/ee667db4b83eb6171bbceca1010cddd0da6f17ca
Author: Kazu Hirata <kazu at google.com>
Date: 2023-12-16 (Sat, 16 Dec 2023)
Changed paths:
M lldb/source/Host/common/Host.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
M lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
M lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp
Log Message:
-----------
[lldb] Use StringRef::{starts,ends}_with (NFC)
This patch replaces uses of StringRef::{starts,ends}with with
StringRef::{starts,ends}_with for consistency with
std::{string,string_view}::{starts,ends}_with in C++20.
I'm planning to deprecate and eventually remove
StringRef::{starts,ends}with.
Commit: b8f89b84bc26c46a5a10d01eb5414fbde3c8700a
https://github.com/llvm/llvm-project/commit/b8f89b84bc26c46a5a10d01eb5414fbde3c8700a
Author: Kazu Hirata <kazu at google.com>
Date: 2023-12-16 (Sat, 16 Dec 2023)
Changed paths:
M clang-tools-extra/clangd/index/remote/server/Server.cpp
M clang/test/Index/recursive-cxx-member-calls.cpp
M libc/utils/HdrGen/Generator.cpp
M mlir/examples/toy/Ch2/toyc.cpp
M mlir/examples/toy/Ch3/toyc.cpp
M mlir/examples/toy/Ch4/toyc.cpp
M mlir/examples/toy/Ch5/toyc.cpp
M mlir/examples/toy/Ch6/toyc.cpp
M mlir/examples/toy/Ch7/toyc.cpp
M openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
Use StringRef::{starts,ends}_with (NFC)
This patch replaces uses of StringRef::{starts,ends}with with
StringRef::{starts,ends}_with for consistency with
std::{string,string_view}::{starts,ends}_with in C++20.
I'm planning to deprecate and eventually remove
StringRef::{starts,ends}with.
Compare: https://github.com/llvm/llvm-project/compare/c26510a2bf36...b8f89b84bc26
More information about the All-commits
mailing list