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/Sema/Sema.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/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index d3ace9dc69..7bd0a4a330 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -85,6 +85,7 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, IdResolver(pp.getLangOptions()), CXXTypeInfoDecl(0), MSVCGuidDecl(0), GlobalNewDeleteDeclared(false), ObjCShouldCallSuperDealloc(false), + ObjCShouldCallSuperFinalize(false), TUKind(TUKind), NumSFINAEErrors(0), SuppressAccessChecking(false), AccessCheckingSFINAE(false), InNonInstantiationSFINAEContext(false), |