diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-15 05:18:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-15 05:18:47 +0000 |
commit | 7a2bdde0a0eebcd2125055e0eacaca040f0b766c (patch) | |
tree | 1cd5fa470f290368855c9081cb213ed118812805 /include/llvm-c | |
parent | bcb8c6d09ee426e0f774e3412912f6ae9e5f78dd (diff) |
Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Disassembler.h | 6 | ||||
-rw-r--r-- | include/llvm-c/lto.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm-c/Disassembler.h b/include/llvm-c/Disassembler.h index dda7111ca2..9f10973404 100644 --- a/include/llvm-c/Disassembler.h +++ b/include/llvm-c/Disassembler.h @@ -31,7 +31,7 @@ typedef void *LLVMDisasmContextRef; * the call back in the DisInfo parameter. The instruction containing operand * is at the PC parameter. For some instruction sets, there can be more than * one operand with symbolic information. To determine the symbolic operand - * infomation for each operand, the bytes for the specific operand in the + * information for each operand, the bytes for the specific operand in the * instruction are specified by the Offset parameter and its byte widith is the * size parameter. For instructions sets with fixed widths and one symbolic * operand per instruction, the Offset parameter will be zero and Size parameter @@ -109,7 +109,7 @@ extern "C" { * Create a disassembler for the TripleName. Symbolic disassembly is supported * by passing a block of information in the DisInfo parameter and specifing the * TagType and call back functions as described above. These can all be passed - * as NULL. If successfull this returns a disassembler context if not it + * as NULL. If successful this returns a disassembler context if not it * returns NULL. */ extern LLVMDisasmContextRef @@ -127,7 +127,7 @@ LLVMDisasmDispose(LLVMDisasmContextRef DC); /** * Disassmble a single instruction using the disassembler context specified in - * the parameter DC. The bytes of the instuction are specified in the parameter + * the parameter DC. The bytes of the instruction are specified in the parameter * Bytes, and contains at least BytesSize number of bytes. The instruction is * at the address specified by the PC parameter. If a valid instruction can be * disassembled its string is returned indirectly in OutString which whos size diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index e4ede9cc6d..7ea7ad01a2 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -72,7 +72,7 @@ lto_get_version(void); /** - * Returns the last error string or NULL if last operation was sucessful. + * Returns the last error string or NULL if last operation was successful. */ extern const char* lto_get_error_message(void); @@ -263,7 +263,7 @@ lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path); /** * Generates code for all added modules into one native object file. - * On sucess returns a pointer to a generated mach-o/ELF buffer and + * On success returns a pointer to a generated mach-o/ELF buffer and * length set to the buffer size. The buffer is owned by the * lto_code_gen_t and will be freed when lto_codegen_dispose() * is called, or lto_codegen_compile() is called again. |