aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/include-mapping/cppreference_parser.py
diff options
context:
space:
mode:
authorEgor Zhdan <e_zhdan@apple.com>2024-11-04 11:43:20 +0000
committerGitHub <noreply@github.com>2024-11-04 11:43:20 +0000
commitf96ea8983b8edc941107c7df2e4f08b44a1663d0 (patch)
tree95c04f8e9711245c5d4a91212abc253a6b03cfaf /clang/tools/include-mapping/cppreference_parser.py
parentafa23ea03741193e36b05ddd508d38a90a18a8b8 (diff)
downloadllvm-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