swift
e79e04c0 - [cxx-interop] Mark C++ reference parameters @addressable

Commit
303 days ago
[cxx-interop] Mark C++ reference parameters @addressable C++ code can return values that depend on the storage that backs the references that were passed in as argument. Thus, swift should not introdue temporary copies of that storage before invoking those functions as they could result in lifetime issues.
Author
Gabor Horvath
Committer
Gabor Horvath
Parents
Loading