[PATCH] D150426: [llvm] Migrate {starts,ends}with_insensitive to {starts,ends}_with_insensitive (NFC)

Kazu Hirata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 23:29:13 PDT 2023


kazu created this revision.
Herald added subscribers: kbarton, hiraditya, nemanjai.
Herald added a project: All.
kazu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.  I'm planning to deprecate
StringRef::{starts,ends}with_insensitive once the migration is
complete across the code base.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150426

Files:
  llvm/include/llvm/ADT/StringRef.h
  llvm/include/llvm/ADT/StringSwitch.h
  llvm/include/llvm/Support/FormatProviders.h
  llvm/lib/DebugInfo/PDB/Native/InputFile.cpp
  llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
  llvm/lib/Option/OptTable.cpp
  llvm/lib/Support/StringRef.cpp
  llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  llvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
  llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  llvm/lib/WindowsDriver/MSVCPaths.cpp
  llvm/tools/bugpoint/ToolRunner.cpp
  llvm/tools/llvm-cov/llvm-cov.cpp
  llvm/tools/llvm-jitlink/llvm-jitlink.cpp
  llvm/tools/llvm-rc/ResourceFileWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150426.521569.patch
Type: text/x-patch
Size: 14345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230512/22d11a52/attachment.bin>


More information about the llvm-commits mailing list