[PATCH] D143700: llvm: add C API methods to match 64bit ArrayType C++ API signatures

Meghan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 23:05:53 PST 2023


nektro created this revision.
Herald added a reviewer: deadalnix.
Herald added a subscriber: hiraditya.
Herald added a project: All.
nektro requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Fixes https://github.com/llvm/llvm-project/issues/56496

As mentioned in the issue, new functions LLVMArrayType2 and LLVMGetArrayLength2 are created so as to not break the old API. the old methods are then marked as deprecated and callers are updated.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143700

Files:
  llvm/bindings/ocaml/llvm/llvm_ocaml.c
  llvm/include/llvm-c/Core.h
  llvm/lib/IR/Core.cpp
  llvm/tools/llvm-c-test/echo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143700.496332.patch
Type: text/x-patch
Size: 4742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230210/b8ee1e5f/attachment.bin>


More information about the llvm-commits mailing list