Skip to content

Commit 321193f

Browse files
committed
spelling: unrelated
Signed-off-by: Josh Soref <[email protected]>
1 parent 9583d9b commit 321193f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

test/Interop/Cxx/templates/Inputs/defaulted-template-type-parameter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ template <class T>
3636
void functionTemplateWithDefaultedParam(T = 0) {}
3737

3838
template <class T = void>
39-
void defaultedTemplateTypeParamUsedInSignatureAndUnrealtedParam(int, T) {}
39+
void defaultedTemplateTypeParamUsedInSignatureAndUnrelatedParam(int, T) {}
4040

4141
template <class = void>
42-
void defaultedTemplateTypeParamAndUnrealtedParam(int) {}
42+
void defaultedTemplateTypeParamAndUnrelatedParam(int) {}
4343

4444
template <class T = int>
4545
void overloadedDefaultedTemplate(T) {}

test/Interop/Cxx/templates/defaulted-template-type-parameter-module-interface.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
// CHECK: func defaultedTemplateTypeParamUsedInReturn<T>() -> T
1111
// CHECK: func defaultedTemplateTypeParamAndDefaultedParam<T>(_: T)
1212
// CHECK: func functionTemplateWithDefaultedParam<T>(_: T)
13-
// CHECK: func defaultedTemplateTypeParamUsedInSignatureAndUnrealtedParam<T>(_: Int32, _: T)
14-
// CHECK: func defaultedTemplateTypeParamAndUnrealtedParam(_: Int32)
13+
// CHECK: func defaultedTemplateTypeParamUsedInSignatureAndUnrelatedParam<T>(_: Int32, _: T)
14+
// CHECK: func defaultedTemplateTypeParamAndUnrelatedParam(_: Int32)
1515
// CHECK: func overloadedDefaultedTemplate<T>(_: T)
1616
// CHECK: func overloadedDefaultedTemplate(_: Int32)
1717
// CHECK: func defaultedTemplateReferenceTypeParam<T>(_ t: inout T)

test/Interop/Cxx/templates/defaulted-template-type-parameter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ DefaultedTemplateTestSuite.test("Function with defaulted template type parameter
2424
let _: Int = defaultedTemplateTypeParamUsedInReturn()
2525
defaultedTemplateTypeParamAndDefaultedParam(0)
2626
functionTemplateWithDefaultedParam(0)
27-
defaultedTemplateTypeParamUsedInSignatureAndUnrealtedParam(0, 0)
28-
defaultedTemplateTypeParamAndUnrealtedParam(0)
27+
defaultedTemplateTypeParamUsedInSignatureAndUnrelatedParam(0, 0)
28+
defaultedTemplateTypeParamAndUnrelatedParam(0)
2929
}
3030

3131
DefaultedTemplateTestSuite.test("Overloaded function template is not ambiguous") {

0 commit comments

Comments
 (0)