[clang] [APINotes] Update the documentation with new features (PR #95162)
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 11 14:00:06 PDT 2024
================
@@ -157,6 +158,36 @@ declaration kind), all of which are optional:
- Class: NSBundle
SwiftName: Bundle
+:SwiftImportAs:
+
+ For a class, possible values are ``owned`` (equivalent to
+ ``SWIFT_SELF_CONTAINED``), ``reference`` (equivalent to
+ ``SWIFT_SHARED_REFERENCE``, also requires specifying ``SwiftReleaseOp`` and
+ ``SwiftRetainOp``).
+
+ For a method, possible values are ``unsafe`` (equivalent
+ to ``SWIFT_RETURNS_INDEPENDENT_VALUE``), ``computed_property`` (equivalent to
----------------
compnerd wrote:
```suggestion
to ``SWIFT_RETURNS_INDEPENDENT_VALUE``) or ``computed_property`` (equivalent to
```
https://github.com/llvm/llvm-project/pull/95162
More information about the cfe-commits
mailing list