Skip to content

Commit 7d50071

Browse files
committed
[cxx-interop] Fix typo unkwon -> unknown
1 parent a30f0e2 commit 7d50071

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/SILOptimizer/array_element_propagation_ossa_nontrivial.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ bb0(%arg0 : @owned $MyKlass, %arg1 : @owned $MyKlass, %arg2 : @owned $MyKlass):
204204
return %52 : $()
205205
}
206206

207-
sil [ossa] @unkown_use : $@convention(thin) (@owned MyKlass) -> () {
207+
sil [ossa] @unknown_use : $@convention(thin) (@owned MyKlass) -> () {
208208
bb0(%arg0 : @owned $MyKlass):
209209
%0 = function_ref @swift_bufferAllocate : $@convention(thin) () -> @owned _ContiguousArrayStorage<MyKlass>
210210
%1 = integer_literal $Builtin.Word, 1

utils/build_swift/tests/build_swift/test_driver_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def test(self):
278278
[option.option_string])
279279
# The argument should never show up in the namespace
280280
self.assertFalse(hasattr(namespace, option.dest))
281-
# It should instead be forwareded to unkown_args
281+
# It should instead be forwareded to unknown_args
282282
self.assertEqual(unknown_args, [option.option_string])
283283

284284
return test

0 commit comments

Comments
 (0)