[all-commits] [llvm/llvm-project] 44863d: [APINotes] Document immortal reference type annota...
Egor Zhdan via All-commits
all-commits at lists.llvm.org
Tue Oct 29 05:51:28 PDT 2024
Branch: refs/heads/users/egorzhdan/apinotes-doc-immortal
Home: https://github.com/llvm/llvm-project
Commit: 44863d5d0505d428b006a42c868443fb9d8f1d3a
https://github.com/llvm/llvm-project/commit/44863d5d0505d428b006a42c868443fb9d8f1d3a
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M clang/docs/APINotes.rst
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list