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 | 3a50a9fe74468ea376e59f81131a873fb1b4d7d7 (patch) | |
tree | b9724f38e8faa0da7203d0bf112a23cf47ad0371 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 473cfda1f439828da049988962550da45d7b7337 (diff) | |
download | llvm-3a50a9fe74468ea376e59f81131a873fb1b4d7d7.zip llvm-3a50a9fe74468ea376e59f81131a873fb1b4d7d7.tar.gz llvm-3a50a9fe74468ea376e59f81131a873fb1b4d7d7.tar.bz2 |
[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
llvm-svn: 350942
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions