diff options
author | Nico Weber <nicolasweber@gmx.de> | 2011-08-28 22:35:17 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2011-08-28 22:35:17 +0000 |
commit | 80cb6e69d9e85231588ae604e4bc2bc9a07389af (patch) | |
tree | 111a0d0d921aa094530bfdb2ebf4a49f7352b6c6 /lib/AST/DeclObjC.cpp | |
parent | f5e39ece75b18c9ce19351929d4879ad9731e7f5 (diff) |
Warn on missing [super finalize] calls.
This matches gcc's logic. Second half of PR10661.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r-- | lib/AST/DeclObjC.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index 367e6a66a4..09638fefbd 100644 --- a/lib/AST/DeclObjC.cpp +++ b/lib/AST/DeclObjC.cpp @@ -446,6 +446,7 @@ ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { // These selectors have a conventional meaning only for instance methods. case OMF_dealloc: + case OMF_finalize: case OMF_retain: case OMF_release: case OMF_autorelease: |