diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2016-08-11 18:41:29 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2016-08-11 18:41:29 +0000 |
commit | 271e3dbddedabb82291728cb87e700bdb72e2369 (patch) | |
tree | 21a14a108b629b04c71321aeaea80ae08e3614e7 /test/Driver/frame-pointer-elim.c | |
parent | 79646f78be1b6852d1a618db200bd8554a086e85 (diff) | |
download | clang-271e3dbddedabb82291728cb87e700bdb72e2369.tar.gz |
[analyzer] Teach RetainCountChecker about CVFooRetain
Change the retain count checker to treat CoreFoundation-style "CV"-prefixed
reference types from CoreVideo similarly to CoreGraphics types. With this
change, we treat CVFooRetain() on a CVFooRef type as a retain. CVFooRelease()
APIs are annotated as consuming their parameter, so this change prevents false
positives about incorrect decrements of reference counts.
<rdar://problem/27116090>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/frame-pointer-elim.c')
0 files changed, 0 insertions, 0 deletions