http://llvm.org/bugs/show_bug.cgi?id=7286
Summary: Missing -analyzer-check-objc-missing-dealloc also
skips leaked ivars
Product: clang
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When scan-build is run without the -analyzer-check-objc-missing-dealloc flag,
the static analyzer also fails to report ivars that should have been released
in -dealloc and were not. My expectation of this flag is that it only warns me
when I'm missing the -dealloc method in its entirety, but has no effect on
warning me when I fail to release an ivar in -dealloc. In practice, the lack of
this flag seems to make the static analyzer completely ignore the -dealloc
method and therefore fail to warn me when I'm leaking an ivar.
--
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