[all-commits] [llvm/llvm-project] 8365ba: [Analysis] Avoid creating a temporary instance of ...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Aug 1 00:24:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8365ba656297ded7fc927958655df7a3f51c1042
      https://github.com/llvm/llvm-project/commit/8365ba656297ded7fc927958655df7a3f51c1042
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-08-01 (Fri, 01 Aug 2025)

  Changed paths:
    M clang/lib/Analysis/RetainSummaryManager.cpp

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

hasName takes StringRef, so we don't need to create a temporary
instance 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