mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When calling a C++ function that takes a reference to a pointer to a foreign reference type, Swift would previously pass a pointer to the foreign reference type as an argument (instead of a reference to a pointer), which resulted in invalid memory accesses. This was observed when using `std::vector<ImmortalRef*>::push_back`. rdar://150791778
5.6 KiB
5.6 KiB