Migrate {starts,ends}with_insensitive to {starts,ends}_with_insensitive (NFC)
authorKazu Hirata <kazu@google.com>
Tue, 16 May 2023 17:12:42 +0000 (10:12 -0700)
committerKazu Hirata <kazu@google.com>
Tue, 16 May 2023 17:12:42 +0000 (10:12 -0700)
commited1539c6ad3d2c6e888985d21f841504f69beab3
treeb66a52d786b827ac64042e38cdf8bc14688dfc21
parent4107898839c37bc7e5501fc313282d40719b0bc6
Migrate {starts,ends}with_insensitive to {starts,ends}_with_insensitive (NFC)

This patch migrates uses of StringRef::{starts,ends}with_insensitive
to StringRef::{starts,ends}_with_insensitive so that we can use names
similar to those used in std::string_view.

Note that the llvm/ directory has migrated in commit
6c3ea866e93003e16fc55d3b5cedd3bc371d1fde.

I'll post a separate patch to deprecate
StringRef::{starts,ends}with_insensitive.

Differential Revision: https://reviews.llvm.org/D150506
24 files changed:
clang-tools-extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
clang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/CompileCommands.cpp
clang-tools-extra/clangd/InlayHints.cpp
clang/lib/Analysis/RetainSummaryManager.cpp
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Driver/Driver.cpp
clang/lib/Driver/OffloadBundler.cpp
clang/lib/Driver/ToolChains/Arch/RISCV.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Format/Format.cpp
clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/SemaCodeComplete.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
clang/lib/StaticAnalyzer/Checkers/Iterator.cpp
clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
lld/COFF/Driver.cpp
lld/COFF/DriverUtils.cpp
lld/Common/Args.cpp
lld/ELF/ScriptParser.cpp
lld/MinGW/Driver.cpp
lld/tools/lld/lld.cpp