llvm-project
f96ea898 - [APINotes] Document immortal reference type annotation

Commit
1 year ago
[APINotes] Document immortal reference type annotation API Notes allow annotating a C++ reference type with its retain/release operations. These are honored by the Swift compiler when the type is used from Swift. Apart from names of C++ functions that need to be called to retain/release the object, API Notes also accept a value of `immortal` which indicates that the object is to be considered alive for the duration of the program.
Author
Parents
Loading