aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema/Sema.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2011-08-28 22:35:17 +0000
committerNico Weber <nicolasweber@gmx.de>2011-08-28 22:35:17 +0000
commit80cb6e69d9e85231588ae604e4bc2bc9a07389af (patch)
tree111a0d0d921aa094530bfdb2ebf4a49f7352b6c6 /include/clang/Sema/Sema.h
parentf5e39ece75b18c9ce19351929d4879ad9731e7f5 (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 'include/clang/Sema/Sema.h')
-rw-r--r--include/clang/Sema/Sema.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index 299480399b..f6d5edc4e4 100644
--- a/include/clang/Sema/Sema.h
+++ b/include/clang/Sema/Sema.h
@@ -493,6 +493,9 @@ public:
/// A flag that is set when parsing a -dealloc method and no [super dealloc]
/// call was found yet.
bool ObjCShouldCallSuperDealloc;
+ /// A flag that is set when parsing a -finalize method and no [super finalize]
+ /// call was found yet.
+ bool ObjCShouldCallSuperFinalize;
/// \brief The set of declarations that have been referenced within
/// a potentially evaluated expression.