[all-commits] [llvm/llvm-project] 18f1b7: [llvm-cfi-verify] Avoid creating temporary instanc...

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


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

  Changed paths:
    M llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp

  Log Message:
  -----------
  [llvm-cfi-verify] Avoid creating temporary instances of std::string (NFC) (#142524)

symbolizeInlinedCode and symbolizeCode take StringRef as the first
parameter.  We don't need to create temporary instances 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