[all-commits] [llvm/llvm-project] 732bcc: Use StringRef::{starts, ends}_with (NFC)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Dec 14 07:53:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 732bccb8c1b4ea724919db6ff02b1188e20850e7
https://github.com/llvm/llvm-project/commit/732bccb8c1b4ea724919db6ff02b1188e20850e7
Author: Kazu Hirata <kazu at google.com>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M clang-tools-extra/clang-change-namespace/ChangeNamespace.cpp
M clang-tools-extra/clang-include-fixer/IncludeFixerContext.cpp
M clang-tools-extra/clang-include-fixer/SymbolIndexManager.cpp
M clang-tools-extra/clang-include-fixer/find-all-symbols/PathConfig.cpp
M clang-tools-extra/clang-include-fixer/plugin/IncludeFixerPlugin.cpp
M clang-tools-extra/include-cleaner/lib/Analysis.cpp
M clang-tools-extra/include-cleaner/lib/Record.cpp
M clang-tools-extra/modularize/CoverageChecker.cpp
M clang-tools-extra/modularize/ModularizeUtilities.cpp
M clang-tools-extra/modularize/PreprocessorTracker.cpp
M clang-tools-extra/pseudo/lib/cxx/CXX.cpp
M clang-tools-extra/pseudo/lib/grammar/GrammarBNF.cpp
M clang-tools-extra/unittests/clang-tidy/GoogleModuleTest.cpp
M lld/ELF/Arch/ARM.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.
More information about the All-commits
mailing list