[LLVMbugs] [Bug 7286] New: Missing -analyzer-check-objc-missing-dealloc also skips leaked ivars
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 2 14:30:55 PDT 2010
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: kremenek at apple.com
ReportedBy: kevin at sb.org
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list