[clang] [APINotes] Add SWIFT_RETURNS_(UN)RETAINED support to APINotes (PR #118938)
Egor Zhdan via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 6 08:30:28 PST 2024
================
@@ -3,6 +3,12 @@ Name: SwiftImportAs
Tags:
- Name: ImmortalRefType
SwiftImportAs: reference
+ Methods:
+ - Name: methodReturningFrt__
+ - Name: methodReturningFrt_returns_unretained
+ SwiftReturnOwnership: 'returns_unretained'
+ - Name: methodReturningFrt_returns_retained
+ SwiftReturnOwnership: 'returns_retained'
----------------
egorzhdan wrote:
We shouldn't require wrapping the attribute in quotes – quotes aren't used for existing attributes.
https://github.com/llvm/llvm-project/pull/118938
More information about the cfe-commits
mailing list