[all-commits] [llvm/llvm-project] ad9f75: [Libomptarget] Add missing explicit moves on llvm:...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Mar 20 10:00:41 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad9f751a6e9085d45d7c33877f4a5185463c617f
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp

  Log Message:
  [Libomptarget] Add missing explicit moves on llvm::Error

Some older compilers, which we still support, have problems handling the
copy elision that allows us to directly move an `Error` to an
`Expected`. This patch adds explicit moves to remove the error. Same as
last patch but I forgot this one.

More information about the All-commits mailing list