[LLVMbugs] [Bug 2517] New: scan-build reports “missing -dealloc” where -dealloc is unnecessary

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 3 21:38:37 PDT 2008


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

           Summary: scan-build reports “missing -dealloc” where -dealloc
                    is unnecessary
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rix.rob at gmail.com
                CC: llvmbugs at cs.uiuc.edu


One such instance of this is when you have a class which has no object ivars,
but has integers instead. A -dealloc implementation is unnecessary, since all
you’d have it do is call [super dealloc];, but scan-build/ccc-analyzer
complains anyway.


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