Skip to content

Commit 1b5d44a

Browse files
committed
all: fix typos in comments
Identified by https://github.com/client9/misspell
1 parent 174e8e3 commit 1b5d44a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

asm/asm_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestParseFile(t *testing.T) {
3939
// frem constant expression.
4040
{path: "testdata/expr_frem.ll"},
4141

42-
// LLVM IR compatability.
42+
// LLVM IR compatibility.
4343
{path: "../testdata/llvm/test/Bitcode/compatibility.ll"},
4444

4545
// Basic block with same name as specialized metadata field (issue #49).
@@ -234,7 +234,7 @@ func TestParseFile(t *testing.T) {
234234
{path: "../testdata/llvm/test/Assembler/2009-03-24-ZextConstantExpr.ll"},
235235
{path: "../testdata/llvm/test/Assembler/2009-07-24-ZeroArgGEP.ll"},
236236
{path: "../testdata/llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll"},
237-
//{path: "../testdata/llvm/test/Assembler/addrspacecast-alias.ll"}, // TODO: fix handling of multiple addres spaces; constant expression type mismatch; expected "i8 addrspace(2)* addrspace(3)*", got "i8 addrspace(2)**
237+
//{path: "../testdata/llvm/test/Assembler/addrspacecast-alias.ll"}, // TODO: fix handling of multiple address spaces; constant expression type mismatch; expected "i8 addrspace(2)* addrspace(3)*", got "i8 addrspace(2)**
238238
{path: "../testdata/llvm/test/Assembler/aggregate-return-single-value.ll"},
239239
{path: "../testdata/llvm/test/Assembler/alias-use-list-order.ll"},
240240
{path: "../testdata/llvm/test/Assembler/align-inst-alloca.ll"},

ir/asm_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestModule(t *testing.T) {
2424
golden := []struct {
2525
path string
2626
}{
27-
// LLVM IR compatability.
27+
// LLVM IR compatibility.
2828
{path: "../testdata/llvm/test/Bitcode/compatibility.ll"},
2929
}
3030
hasTestdata := osutil.Exists("../testdata/llvm")

ir/constant/asm_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestModule(t *testing.T) {
2424
golden := []struct {
2525
path string
2626
}{
27-
// LLVM IR compatability.
27+
// LLVM IR compatibility.
2828
{path: "../../testdata/llvm/test/Bitcode/compatibility.ll"},
2929
// Constant expressions.
3030
{path: "../../testdata/llvm/test/Transforms/ConstProp/constant-expr.ll"},

0 commit comments

Comments
 (0)