swift
0a38617e - [cxx-interop] Require lifetime annotations in safe mode

Commit
334 days ago
[cxx-interop] Require lifetime annotations in safe mode In strict safe mode we should consider all C++ APIs with non-escapable parameters unsafe unless they have their lifetimes annotated. This can be done using [[clang::lifetimebound]], [[clang::lifetime_capture_by]], or [[clang::noescape]].
Author
Gabor Horvath
Parents
Loading