http://llvm.org/bugs/show_bug.cgi?id=7643
Summary: Assigning a +1 ref value to a retain/copy property
should warn
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=5222)
--> (http://llvm.org/bugs/attachment.cgi?id=5222)
Test case
A common error that clang-sa misses is:
foo.property = [[Bar alloc] init];
If 'property' is marked retain or copy, the assignment will cause a leak.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs