From baf8c08693d2086cd8e45b31645812b51984b926 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Fri, 20 Dec 2013 00:33:39 +0000 Subject: Fix documentation typos git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197757 91177308-0d34-0410-b5e6-96231b3b80d8 --- bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli | 2 +- bindings/python/llvm/tests/test_disassembler.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bindings') diff --git a/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli b/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli index d69abe209c..ab6fa4a646 100644 --- a/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli +++ b/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli @@ -12,7 +12,7 @@ This interface provides an OCaml API for LLVM scalar transforms, the classes in the [LLVMScalarOpts] library. *) -(** See the [llvm::createConstantPropogationPass] function. *) +(** See the [llvm::createConstantPropagationPass] function. *) external add_constant_propagation : [ unit = "llvm_add_constant_propagation" diff --git a/bindings/python/llvm/tests/test_disassembler.py b/bindings/python/llvm/tests/test_disassembler.py index e960dc0ba9..37a04e4fc7 100644 --- a/bindings/python/llvm/tests/test_disassembler.py +++ b/bindings/python/llvm/tests/test_disassembler.py @@ -16,9 +16,9 @@ class TestDisassembler(TestBase): self.assertEqual(count, 3) self.assertEqual(s, '\tjcxz\t-127') - def test_nonexistant_triple(self): + def test_nonexistent_triple(self): with self.assertRaisesRegexp(Exception, "Could not obtain disassembler for triple"): - Disassembler("nonexistant-triple-raises") + Disassembler("nonexistent-triple-raises") def test_get_instructions(self): sequence = '\x67\xe3\x81\x01\xc7' # jcxz -127; addl %eax, %edi -- cgit v1.2.3