summaryrefslogtreecommitdiff
path: root/bindings/ocaml/llvm/llvm.mli
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-12-26 21:21:51 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-12-26 21:21:51 +0000
commita09a89983bf51aa70d3067282e4817ec3057eb51 (patch)
treed253b979e4f90c7ba52dc268a5d479530c5a881a /bindings/ocaml/llvm/llvm.mli
parent8d2a922814d58a99b592c5844f87048d935812b4 (diff)
downloadllvm-a09a89983bf51aa70d3067282e4817ec3057eb51.tar.gz
llvm-a09a89983bf51aa70d3067282e4817ec3057eb51.tar.bz2
llvm-a09a89983bf51aa70d3067282e4817ec3057eb51.tar.xz
Adding an uninitialized builder constructor to the Ocaml bindings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/llvm/llvm.mli')
-rw-r--r--bindings/ocaml/llvm/llvm.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/ocaml/llvm/llvm.mli b/bindings/ocaml/llvm/llvm.mli
index 22d359181c..8d9d21261d 100644
--- a/bindings/ocaml/llvm/llvm.mli
+++ b/bindings/ocaml/llvm/llvm.mli
@@ -847,6 +847,12 @@ external incoming : llvalue -> (llvalue * llbasicblock) list = "llvm_incoming"
(*===-- Instruction builders ----------------------------------------------===*)
+(** [builder] creates an instruction builder with no position. It is invalid to
+ use this builder until its position is set with [position_before] or
+ [position_at_end]. See the constructor for [llvm::LLVMBuilder]. **)
+external builder: unit-> llbuilder
+ = "llvm_builder"
+
(** [builder_before ins] creates an instruction builder positioned before the
instruction [isn]. See the constructor for [llvm::LLVMBuilder]. **)
external builder_before : llvalue -> llbuilder = "llvm_builder_before"