[PATCH] D55907: [analyzer] RetainCount: Bluntly suppress the CFRetain detection heuristic on a couple of CM functions.

George Karpenkov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 20 14:56:20 PST 2018


george.karpenkov added a comment.

In general, I'm against hardcoding, and I think we should use the annotations indicating that the function does retain.
(or use a naming convention, and use an annotation to indicate that the function does not retain).

However, if this is prohibitive for some reason, we could use this approach as well.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55907/new/

https://reviews.llvm.org/D55907





More information about the cfe-commits mailing list