[all-commits] [llvm/llvm-project] f313b0: [Clang][NFC] Capture by ref to avoid copying std::...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Fri May 2 14:31:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f313b0af15857dada7743af310229b6944fd1c61
      https://github.com/llvm/llvm-project/commit/f313b0af15857dada7743af310229b6944fd1c61
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp

  Log Message:
  -----------
  [Clang][NFC] Capture by ref to avoid copying std::string (#138231)

Static analysis flagged capturing BName by value as opposed to by
reference. Updated capture to be by reference.



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