diff options
author | Egor Zhdan <e_zhdan@apple.com> | 2024-11-04 11:43:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-04 11:43:20 +0000 |
commit | f96ea8983b8edc941107c7df2e4f08b44a1663d0 (patch) | |
tree | 95c04f8e9711245c5d4a91212abc253a6b03cfaf /clang/tools/include-mapping/cppreference_parser.py | |
parent | afa23ea03741193e36b05ddd508d38a90a18a8b8 (diff) | |
download | llvm-f96ea8983b8edc941107c7df2e4f08b44a1663d0.zip llvm-f96ea8983b8edc941107c7df2e4f08b44a1663d0.tar.gz llvm-f96ea8983b8edc941107c7df2e4f08b44a1663d0.tar.bz2 |
[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.
Diffstat (limited to 'clang/tools/include-mapping/cppreference_parser.py')
0 files changed, 0 insertions, 0 deletions