https://bugs.llvm.org/show_bug.cgi?id=34221
Bug ID: 34221
Summary: Objective-C: annotation for copy-like methods
Product: clang
Version: unspecified
Hardware: Macintosh
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
Assignee: kreme...@apple.com
Reporter: larry.campb...@gmail.com
CC: llvm-bugs@lists.llvm.org
I wrote a deepMutableCopy method, and clang's static analyzer reports that I'm
autoreleasing objects too many times, because it doesn't know that my
deepMutableCopy method acts like copy, and needs a matching release or
autorelease. It would be nice if I could annotate this method so that clang
treats it like copy.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs