[PATCH] D135842: [llvm-ocaml] Fix arity mismatch in pointer bindings

Alan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 12 19:08:58 PDT 2022


alan created this revision.
Herald added a project: All.
alan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135842

Files:
  llvm/bindings/ocaml/llvm/llvm_ocaml.c


Index: llvm/bindings/ocaml/llvm/llvm_ocaml.c
===================================================================
--- llvm/bindings/ocaml/llvm/llvm_ocaml.c
+++ llvm/bindings/ocaml/llvm/llvm_ocaml.c
@@ -571,7 +571,7 @@
 }
 
 /* llcontext -> lltype */
-LLVMTypeRef llvm_pointer_type(LLVMContextRef C, value AddressSpace) {
+LLVMTypeRef llvm_pointer_type(LLVMContextRef C) {
   return LLVMPointerTypeInContext(C, 0);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135842.467344.patch
Type: text/x-patch
Size: 418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221013/1b95795d/attachment.bin>


More information about the llvm-commits mailing list