[all-commits] [llvm/llvm-project] 939fd6: [AutoUpgrade] Use StringRef::starts_with/ends_with...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Nov 6 05:28:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 939fd6c37c52a12cb968215cb30d1accd360338c
      https://github.com/llvm/llvm-project/commit/939fd6c37c52a12cb968215cb30d1accd360338c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M llvm/include/llvm/IR/AutoUpgrade.h
    M llvm/lib/IR/AutoUpgrade.cpp

  Log Message:
  -----------
  [AutoUpgrade] Use StringRef::starts_with/ends_with instead of startswith/endswith. NFC.

startswith/endswith wrap starts_with/ends_with and will eventually go away (to more closely match string_view)


  Commit: b65da9848b46a94c37886772609c6ef9901a9f3a
      https://github.com/llvm/llvm-project/commit/b65da9848b46a94c37886772609c6ef9901a9f3a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp

  Log Message:
  -----------
  [AsmPrinter] Use StringRef::starts_with/ends_with instead of startswith/endswith. NFC.

startswith/endswith wrap starts_with/ends_with and will eventually go away (to more closely match string_view)


Compare: https://github.com/llvm/llvm-project/compare/c39995a116a7...b65da9848b46


More information about the All-commits mailing list