http://llvm.org/bugs/show_bug.cgi?id=10661
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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
tests-MacBook-Pro-2:src test$ cat test.m
#include <Foundation/Foundation.h>
@interface A : NSObject
@end
@implementation A
- (void)dealloc {
}
@end
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs