diff options
| author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-01-26 08:15:29 +0000 |
|---|---|---|
| committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-01-26 08:15:29 +0000 |
| commit | 0909ca132fcd836df843aa1ed1585bb0c15c5520 (patch) | |
| tree | ae17385953adb263665e8e7fbf50177b4b5a64b1 /llvm/bindings | |
| parent | 056d835fa4b6e9fba3e7c068ded83c3dce7975cb (diff) | |
| download | bcm5719-llvm-0909ca132fcd836df843aa1ed1585bb0c15c5520.tar.gz bcm5719-llvm-0909ca132fcd836df843aa1ed1585bb0c15c5520.zip | |
[NFC] fix trivial typos in comments and documents
"in in" -> "in", "on on" -> "on" etc.
llvm-svn: 323508
Diffstat (limited to 'llvm/bindings')
| -rw-r--r-- | llvm/bindings/go/llvm/ir.go | 2 | ||||
| -rw-r--r-- | llvm/bindings/ocaml/llvm/llvm.mli | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/bindings/go/llvm/ir.go b/llvm/bindings/go/llvm/ir.go index 22209703430..71b11a6668e 100644 --- a/llvm/bindings/go/llvm/ir.go +++ b/llvm/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/llvm/bindings/ocaml/llvm/llvm.mli b/llvm/bindings/ocaml/llvm/llvm.mli index 3387c1ec52f..b91d059e3b1 100644 --- a/llvm/bindings/ocaml/llvm/llvm.mli +++ b/llvm/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. *) |

