[all-commits] [llvm/llvm-project] b5dc7b: [LLVM] Change `LLVMIntrinsicCopyOverloadedName` AP...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Nov 4 08:21:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5dc7b8fc2a2884350f27e78410a4342555f2979
      https://github.com/llvm/llvm-project/commit/b5dc7b8fc2a2884350f27e78410a4342555f2979
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M llvm/include/llvm-c/Core.h
    M llvm/lib/IR/Core.cpp

  Log Message:
  -----------
  [LLVM] Change `LLVMIntrinsicCopyOverloadedName` API return type (#114334)

Change the return type of `LLVMIntrinsicCopyOverloadedName` and
`LLVMIntrinsicCopyOverloadedName2` to `char *` instead of `const char *`
since the returned memory is owned by the caller and we expect that the
returned pointer is passed to free to deallocate it (without casting it
back to non-const pointer).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list