[all-commits] [llvm/llvm-project] e4044a: [ADT] StringSwitch.h - use StringRef::starts_with/...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Nov 6 07:52:41 PST 2023


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

  Changed paths:
    M llvm/include/llvm/ADT/StringSwitch.h

  Log Message:
  -----------
  [ADT] StringSwitch.h - 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