[LLVMbugs] [Bug 7140] Return retain-count assumptions are invalid

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 14 10:25:42 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7140

Ted Kremenek <kremenek at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kremenek at apple.com
         Resolution|                            |INVALID

--- Comment #1 from Ted Kremenek <kremenek at apple.com> 2010-05-14 12:25:42 CDT ---
I have been over the 'NoCopy' issue with the Cocoa folks, and technically this
violates the Cocoa naming convention.  You have an out: use the
'ns_returns_not_retained' attribute.  Currently this is available in the latest
open source checker builds.

Usage is identical to 'ns_returns_retained', see:

http://clang-analyzer.llvm.org/annotations.html#attr_ns_returns_retained

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list