[LLVMbugs] [Bug 9077] New: Obj-C properties named newFoo are treated as returning an owned reference
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jan 27 15:21:07 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9077
Summary: Obj-C properties named newFoo are treated as returning
an owned reference
Product: clang
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: kevin at sb.org
CC: llvmbugs at cs.uiuc.edu
If an Obj-C property is named newFoo, any access to it (e.g. `self.newFoo`) is
treated by the static analyzer as returning an owned reference. Properties, by
definition, do not return owned references. The SA should be smart enough to
implicitly assume any properties are ns_returns_not_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