[PATCH] D34937: Suppressing Reference Counting Diagnostics for Functions Containing 'rc_ownership_trusted_implementation' Annotate Attribute

Malhar Thakkar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 17 11:51:47 PDT 2017


malhar1995 updated this revision to Diff 106911.
malhar1995 added a comment.

Addressed comments.
Changed the function from isTrustedReferenceCountImplementation() to hasRCAnnotation() (I'm unable to come up with a better name) as this will be useful when I add support to RetainCountChecker to check for generic annotations corresponding to __isl_give(cf_returns_retained) and __isl_take(cf_consumed).


Repository:
  rL LLVM

https://reviews.llvm.org/D34937

Files:
  lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
  test/Analysis/retain-release-inline.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34937.106911.patch
Type: text/x-patch
Size: 6523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170717/480aae9c/attachment.bin>


More information about the cfe-commits mailing list