summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-10-18 07:40:03 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-10-18 07:40:03 +0000
commit11add313410f232c7e8aa8f6a18d092db7a0cb32 (patch)
tree5422346788498778661fa616bddd22d30763b734 /llvm/bindings/ocaml
parente3605d0f7038e5dab1994282a77831a9b4a72c4c (diff)
downloadbcm5719-llvm-11add313410f232c7e8aa8f6a18d092db7a0cb32.tar.gz
bcm5719-llvm-11add313410f232c7e8aa8f6a18d092db7a0cb32.zip
[TI removal] Remove TerminatorInst references from bindings.
For the Go bindings, this just removes the no longer useful "isa"-style wrapper. If there is a user that is interested, they can add a wrapper for `Instruction::isTerminator`. For the OCaml bindings, this is just a documentation update. llvm-svn: 344726
Diffstat (limited to 'llvm/bindings/ocaml')
-rw-r--r--llvm/bindings/ocaml/llvm/llvm.mli6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/bindings/ocaml/llvm/llvm.mli b/llvm/bindings/ocaml/llvm/llvm.mli
index 97b6a695fa2..f12eb6efa61 100644
--- a/llvm/bindings/ocaml/llvm/llvm.mli
+++ b/llvm/bindings/ocaml/llvm/llvm.mli
@@ -1887,16 +1887,16 @@ val set_volatile : bool -> llvalue -> unit
val is_terminator : llvalue -> bool
(** [successor v i] returns the successor at index [i] for the value [v].
- See the method [llvm::TerminatorInst::getSuccessor]. *)
+ See the method [llvm::Instruction::getSuccessor]. *)
val successor : llvalue -> int -> llbasicblock
(** [set_successor v i o] sets the successor of the value [v] at the index [i] to
the value [o].
- See the method [llvm::TerminatorInst::setSuccessor]. *)
+ See the method [llvm::Instruction::setSuccessor]. *)
val set_successor : llvalue -> int -> llbasicblock -> unit
(** [num_successors v] returns the number of successors for the value [v].
- See the method [llvm::TerminatorInst::getNumSuccessors]. *)
+ See the method [llvm::Instruction::getNumSuccessors]. *)
val num_successors : llvalue -> int
(** [successors v] returns the successors of [v]. *)
OpenPOWER on IntegriCloud