[all-commits] [llvm/llvm-project] 141122: [TableGen] Use StringRef::starts_with/ends_with in...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Nov 3 10:54:25 PDT 2023


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

  Changed paths:
    M clang/utils/TableGen/ClangAttrEmitter.cpp
    M clang/utils/TableGen/NeonEmitter.cpp
    M llvm/utils/TableGen/AsmMatcherEmitter.cpp
    M llvm/utils/TableGen/CallingConvEmitter.cpp
    M llvm/utils/TableGen/CodeGenSchedule.cpp
    M llvm/utils/TableGen/DXILEmitter.cpp
    M llvm/utils/TableGen/GlobalISel/CodeExpander.cpp
    M llvm/utils/TableGen/GlobalISelMatchTableExecutorEmitter.h
    M llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
    M llvm/utils/TableGen/X86FoldTablesEmitter.cpp

  Log Message:
  -----------
  [TableGen] 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)




More information about the All-commits mailing list