[all-commits] [llvm/llvm-project] 181ede: [llvm][ocaml] Replace deprecated C functions in OC...
Alan via All-commits
all-commits at lists.llvm.org
Mon Oct 31 02:25:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 181ede0ebd724ff38a605fd11a5a601ed0360a16
https://github.com/llvm/llvm-project/commit/181ede0ebd724ff38a605fd11a5a601ed0360a16
Author: Alan Hu <alanh at ccs.neu.edu>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M llvm/bindings/ocaml/llvm/llvm.ml
M llvm/bindings/ocaml/llvm/llvm.mli
M llvm/bindings/ocaml/llvm/llvm_ocaml.c
M llvm/test/Bindings/OCaml/core.ml
Log Message:
-----------
[llvm][ocaml] Replace deprecated C functions in OCaml bindings
Follow-up to D135524, to replace two more deprecated C functions
in the OCaml bindings. const_in_bounds_gep now accepts the source
element type as argument, and const_element has been changed into
aggregate_element, which works on a wider range of constants and
returns an option.
Differential Revision: https://reviews.llvm.org/D136914
More information about the All-commits
mailing list