summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2018-01-26 08:15:29 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2018-01-26 08:15:29 +0000
commit8040eab58948470e391cf39ad04e86c3f755260f (patch)
tree1b90c06a3af2474fdaf3d2a988d6a7ed8e181561 /bindings
parentf80c9bf237748843d36e12881e8081ef2c9b0d39 (diff)
[NFC] fix trivial typos in comments and documents
"in in" -> "in", "on on" -> "on" etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r--bindings/go/llvm/ir.go2
-rw-r--r--bindings/ocaml/llvm/llvm.mli2
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/go/llvm/ir.go b/bindings/go/llvm/ir.go
index 22209703430..71b11a6668e 100644
--- a/bindings/go/llvm/ir.go
+++ b/bindings/go/llvm/ir.go
@@ -1872,7 +1872,7 @@ func (pm PassManager) InitializeFunc() bool { return C.LLVMInitializeFunctionPas
// See llvm::FunctionPassManager::run(Function&).
func (pm PassManager) RunFunc(f Value) bool { return C.LLVMRunFunctionPassManager(pm.C, f.C) != 0 }
-// Finalizes all of the function passes scheduled in in the function pass
+// Finalizes all of the function passes scheduled in the function pass
// manager. Returns 1 if any of the passes modified the module, 0 otherwise.
// See llvm::FunctionPassManager::doFinalization.
func (pm PassManager) FinalizeFunc() bool { return C.LLVMFinalizeFunctionPassManager(pm.C) != 0 }
diff --git a/bindings/ocaml/llvm/llvm.mli b/bindings/ocaml/llvm/llvm.mli
index 3387c1ec52f..b91d059e3b1 100644
--- a/bindings/ocaml/llvm/llvm.mli
+++ b/bindings/ocaml/llvm/llvm.mli
@@ -2619,7 +2619,7 @@ module PassManager : sig
See the [llvm::FunctionPassManager::run] method. *)
val run_function : llvalue -> [ `Function ] t -> bool
- (** [finalize fpm] finalizes all of the function passes scheduled in in the
+ (** [finalize fpm] finalizes all of the function passes scheduled in the
function pass manager [fpm]. Returns [true] if any of the passes
modified the module, [false] otherwise.
See the [llvm::FunctionPassManager::doFinalization] method. *)