swift
94f7cc6e - [IRGen][interop] do not add 'nocapture' to not bitwise takable types

Commit
2 years ago
[IRGen][interop] do not add 'nocapture' to not bitwise takable types The use of 'nocapture' for parameters and return values is incorrect for C++ types, as they can actually capture a pointer into its own value (e.g. std::string in libstdc++) rdar://115062687
Author
hyp hyp
Committer
hyp hyp
Parents
Loading