[llvm] b75bde6 - [llvm-ocaml] Fix arity mismatch in pointer bindings
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 13 10:07:33 PDT 2022
Author: Alan Hu
Date: 2022-10-13T10:07:10-07:00
New Revision: b75bde63215b6d158579611c40d950099faf83d9
URL: https://github.com/llvm/llvm-project/commit/b75bde63215b6d158579611c40d950099faf83d9
DIFF: https://github.com/llvm/llvm-project/commit/b75bde63215b6d158579611c40d950099faf83d9.diff
LOG: [llvm-ocaml] Fix arity mismatch in pointer bindings
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D135842
Added:
Modified:
llvm/bindings/ocaml/llvm/llvm_ocaml.c
Removed:
################################################################################
diff --git a/llvm/bindings/ocaml/llvm/llvm_ocaml.c b/llvm/bindings/ocaml/llvm/llvm_ocaml.c
index d6346ae7de2e..d087233a3ab1 100644
--- a/llvm/bindings/ocaml/llvm/llvm_ocaml.c
+++ b/llvm/bindings/ocaml/llvm/llvm_ocaml.c
@@ -571,7 +571,7 @@ LLVMTypeRef llvm_array_type(LLVMTypeRef ElementTy, value Count) {
}
/* llcontext -> lltype */
-LLVMTypeRef llvm_pointer_type(LLVMContextRef C, value AddressSpace) {
+LLVMTypeRef llvm_pointer_type(LLVMContextRef C) {
return LLVMPointerTypeInContext(C, 0);
}
More information about the llvm-commits
mailing list