[all-commits] [llvm/llvm-project] 71d12b: [ExecutionEngine] Fix warnings

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Aug 15 10:26:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71d12bc2de0b353496e1833abb9f21f9fba4b1f2
      https://github.com/llvm/llvm-project/commit/71d12bc2de0b353496e1833abb9f21f9fba4b1f2
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-15 (Mon, 15 Aug 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp

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

This patch fixes:

  llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp:512:12: error:
  moving a temporary object prevents copy elision
  [-Werror,-Wpessimizing-move]

and:

  llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp:515:12: error:
  moving a temporary object prevents copy elision
  [-Werror,-Wpessimizing-move]




More information about the All-commits mailing list