[all-commits] [llvm/llvm-project] 6c3ea8: [llvm] Migrate {starts, ends}with_insensitive to {s...

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri May 12 15:37:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c3ea866e93003e16fc55d3b5cedd3bc371d1fde
      https://github.com/llvm/llvm-project/commit/6c3ea866e93003e16fc55d3b5cedd3bc371d1fde
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

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

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

Differential Revision: https://reviews.llvm.org/D150426




More information about the All-commits mailing list