[all-commits] [llvm/llvm-project] 918cda: [TableGen] Use StringRef::substr instead of String...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun May 11 19:09:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 918cdaef52e73b3884cf380362199765bed4e566
      https://github.com/llvm/llvm-project/commit/918cdaef52e73b3884cf380362199765bed4e566
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-11 (Sun, 11 May 2025)

  Changed paths:
    M clang/utils/TableGen/ClangDiagnosticsEmitter.cpp

  Log Message:
  -----------
  [TableGen] Use StringRef::substr instead of StringRef::slice (NFC) (#139485)

StringRef::substr is shorter here because we can rely on its default
second parameter.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list