[all-commits] [llvm/llvm-project] 3cc103: [Debuginfod] Fix warnings

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Aug 29 12:06:30 PDT 2025


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

  Changed paths:
    M llvm/lib/Debuginfod/Debuginfod.cpp

  Log Message:
  -----------
  [Debuginfod] Fix warnings

This patch fixes:

  llvm/lib/Debuginfod/Debuginfod.cpp:592:12: error: moving a local
  object in a return statement prevents copy elision
  [-Werror,-Wpessimizing-move]

  llvm/lib/Debuginfod/Debuginfod.cpp:613:12: error: moving a local
  object in a return statement prevents copy elision
  [-Werror,-Wpessimizing-move]



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