[all-commits] [llvm/llvm-project] 35276f: [llvm-c] Add C API methods to match 64bit ArrayTyp...

Meghan via All-commits all-commits at lists.llvm.org
Wed Feb 15 00:57:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35276f16e5a2cae0dfb49c0fbf874d4d2f177acc
      https://github.com/llvm/llvm-project/commit/35276f16e5a2cae0dfb49c0fbf874d4d2f177acc
  Author: Meghan Denny <hello at nektro.net>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

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

  Log Message:
  -----------
  [llvm-c] Add C API methods to match 64bit ArrayType C++ API signatures

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.

Differential Revision: https://reviews.llvm.org/D143700




More information about the All-commits mailing list