[all-commits] [llvm/llvm-project] 3133c9: [clang-sycl-linker] Fix a warning

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Apr 17 10:20:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3133c956c57c5b952d3289323891dcdc252ea333
      https://github.com/llvm/llvm-project/commit/3133c956c57c5b952d3289323891dcdc252ea333
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

  Changed paths:
    M clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp

  Log Message:
  -----------
  [clang-sycl-linker] Fix a warning

This patch fixes:

  clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp:368:14: 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