[all-commits] [llvm/llvm-project] c95745: [llvm] Use StringRef::{starts_with, find} (NFC) (#1...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon May 12 23:24:29 PDT 2025


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

  Changed paths:
    M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
    M llvm/lib/TableGen/Record.cpp

  Log Message:
  -----------
  [llvm] Use StringRef::{starts_with,find} (NFC) (#139661)

Calling find/contains in the StringRef domain allows us to avoid
creating temporary instances of std::string.



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