[all-commits] [llvm/llvm-project] d77c99: [DebugInfo] Avoid creating a temporary instance of...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Jun 2 23:27:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d77c995f14634b98de4767afc296dc941b1a8cd0
      https://github.com/llvm/llvm-project/commit/d77c995f14634b98de4767afc296dc941b1a8cd0
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-02 (Mon, 02 Jun 2025)

  Changed paths:
    M llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp

  Log Message:
  -----------
  [DebugInfo] Avoid creating a temporary instance of std::string (NFC) (#142523)

lookupTarget accepts StringRef.  We don't need to create a temporary
instance of std::string only to be converted back to StringRef.



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