[all-commits] [llvm/llvm-project] ad4f04: [ORC-RT] Fix missing std::move.

lhames via All-commits all-commits at lists.llvm.org
Mon Jul 19 04:05:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad4f04773c3c364e87321f7e2957eaf9779063f2
      https://github.com/llvm/llvm-project/commit/ad4f04773c3c364e87321f7e2957eaf9779063f2
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M compiler-rt/lib/orc/wrapper_function_utils.h

  Log Message:
  -----------
  [ORC-RT] Fix missing std::move.

This should fix the 'could-not-covert' error at wrapper_function_utils.h:128 in
https://lab.llvm.org/buildbot/#/builders/112/builds/7748.


  Commit: 94e0975450daa57060248c2231ea8bf902b3e86a
      https://github.com/llvm/llvm-project/commit/94e0975450daa57060248c2231ea8bf902b3e86a
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M compiler-rt/lib/orc/c_api.h

  Log Message:
  -----------
  [ORC] Drop 'const' for __orc_rt_CWrapperFunctionResultDataUnion::ValuePtr.

This member is now only used when storage is heap-allocated so it does not
need to be const. Dropping 'const' eliminates cast warnings on many builders.


Compare: https://github.com/llvm/llvm-project/compare/4ee28b4fecad...94e0975450da


More information about the All-commits mailing list