[all-commits] [llvm/llvm-project] 5188b9: [ORC] Make WrapperFunctionResult's ValuePtr member...

lhames via All-commits all-commits at lists.llvm.org
Tue Jun 15 04:26:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5188b9af84c487b0c5456ba7019a2bf029f6146a
      https://github.com/llvm/llvm-project/commit/5188b9af84c487b0c5456ba7019a2bf029f6146a
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h

  Log Message:
  -----------
  [ORC] Make WrapperFunctionResult's ValuePtr member non-const.

The const qualifier was a hangover from an earlier iteration that allowed
wrapper functions to return pointers to const memory. This feature has
been removed, so there's no reason for this to be const any more, and
removing it eliminates const-cast warnings.




More information about the All-commits mailing list