[all-commits] [llvm/llvm-project] b194f0: [Driver] Use StringRef::substr instead of StringRe...

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


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

  Changed paths:
    M clang/lib/Driver/Job.cpp
    M clang/lib/Driver/ToolChain.cpp

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

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