[PATCH] D27409: [analyzer] RetainCountChecker: Improve support for libdispatch APIs.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 08:54:47 PST 2016


NoQ retitled this revision from "[analyzer] RetainCountChecker: The callback in dispatch_data_create() doesn't free the return symbol." to "[analyzer] RetainCountChecker: Improve support for libdispatch APIs.".
NoQ updated the summary for this revision.
NoQ updated this revision to Diff 80432.
NoQ added a comment.

Add more tests.

Not sure we need to stay merged with `retain-release-arc.m`, as we're not really reusing many declarations across these files.

As well, handle the case when `dispatch_retain` and `dispatch_release` are regular functions.


https://reviews.llvm.org/D27409

Files:
  lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
  test/Analysis/dispatch-data-leak.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27409.80432.patch
Type: text/x-patch
Size: 5506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161206/f73ef19e/attachment.bin>


More information about the cfe-commits mailing list