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

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Mar 20 09:50:17 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edc03550063ce1c39bb47bf94937cf036359b487
  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
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.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.

More information about the All-commits mailing list