[LLVMbugs] [Bug 10661] New: clang doesn't warn on missing [super dealloc] call

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 15 11:59:18 PDT 2011


           Summary: clang doesn't warn on missing [super dealloc] call
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu

tests-MacBook-Pro-2:src test$ cat test.m
#include <Foundation/Foundation.h>

@interface A : NSObject

@implementation A
- (void)dealloc {
tests-MacBook-Pro-2:src test$ gcc -Wall -c test.m
test.m:8: warning: method possibly missing a [super dealloc] call
tests-MacBook-Pro-2:src test$ third_party/llvm-build/Release+Asserts/bin/clang
-Wall -c test.m
tests-MacBook-Pro-2:src test$ 

This is a very useful gcc warning.

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