[all-commits] [llvm/llvm-project] ed1539: Migrate {starts, ends}with_insensitive to {starts, e...

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue May 16 10:13:02 PDT 2023


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

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
    M clang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/CompileCommands.cpp
    M clang-tools-extra/clangd/InlayHints.cpp
    M clang/lib/Analysis/RetainSummaryManager.cpp
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/OffloadBundler.cpp
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
    M clang/lib/StaticAnalyzer/Checkers/Iterator.cpp
    M clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
    M lld/COFF/Driver.cpp
    M lld/COFF/DriverUtils.cpp
    M lld/Common/Args.cpp
    M lld/ELF/ScriptParser.cpp
    M lld/MinGW/Driver.cpp
    M lld/tools/lld/lld.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list