[LLVMbugs] [Bug 9077] Obj-C properties named newFoo are treated as returning an owned reference

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 25 14:35:16 PDT 2011


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

Ted Kremenek <kremenek at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Ted Kremenek <kremenek at apple.com> 2011-04-25 16:35:15 CDT ---
I discussed this heavily with the Cocoa framework team.  Properties are meant
to be syntactic sugar for method declarations; the Cocoa naming conventions
apply even there.  We will consider adding a compiler warning for such naming
conflicts, but the static analyzer is doing the right thing here.

-- 
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