diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2019-01-11 18:02:08 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2019-01-11 18:02:08 +0000 |
commit | bc7927d208280def86be0f33a509024b46d77f42 (patch) | |
tree | be85e7f3a404d82e17dba7bc44b61a973276943d /unittests/Driver | |
parent | fb2ad0413c5c2c71e9e96bb7004acd4f4de32bf2 (diff) |
[attributes] Extend os_returns_(not_?)_retained attributes to parameters
When applied to out-parameters, the attributes specify the expected lifetime of the written-into object.
Additionally, introduce OSReturnsRetainedOn(Non)Zero attributes, which
specify that an ownership transfer happens depending on a return code.
Differential Revision: https://reviews.llvm.org/D56292
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Driver')
0 files changed, 0 insertions, 0 deletions