mirror of
https://github.com/apple/swift.git
synced 2026-10-12 14:50:47 +02:00
In C++, moved-from objects' dtors need to be invoked. Swift had some special logic in place to make sure this happens when an C++ object is consumed by a C++ function in Swift code. Unfortunately, this logic only applied to free functions but not to methods. rdar://171011011