Files
swift-mirror/test/SILGen/silgenbuilder_tuple_ownership.swift
Michael Gottesman 1953690897 [silgen] When emitting a tuple, ignore values with .none ownership, not just trivial values.
Otherwise, if we have a tuple whose first parameter is a .none ownership
non-trivial enum, we will leak the other parameters due to us not providing a
cleanup on the created tuple.

rdar://56806959
2019-11-21 14:35:30 -08:00

1.5 KiB