Commit Graph

3 Commits

Author SHA1 Message Date
Arnold Schwaighofer
42af92112c Make _swift_dispatch_block_create_with_qos_class NS_RETURNS_RETAINED
Otherwise, we return in the autorelease pool and this can keep the block
alive longer than a surrounding withoutActuallyEscaping expression
causing verification failures.

rdar://45226617
SR-8955
2018-10-12 10:53:59 -07:00
Arnold Schwaighofer
261639d18d ClosureLifetimeFixup: We need to insert a None on the backedge of a loop after we destroyed the value
rdar://40221767
2018-05-15 08:02:39 -07:00
Arnold Schwaighofer
0daf750f2c Add withoutActuallyEscaping executable test for @convention(block) 2018-03-21 14:17:43 -07:00