mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Explanation: Fixes a runtime crash in the generated binary due to mismatched calling convention when calling a function taking an rvalue reference. Scope: Affects C++ APIs taking rvalue references to directly passed types (e.g., trivially destructible types). Issue: rdar://148585343 Risk: Low, targeted to rvalue references which is a newly supported feature. Testing: Added tests to test suite Reviewer: John Hui