aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2013-04-04 01:38:37 +0000
committerJohn McCall <rjmccall@apple.com>2013-04-04 01:38:37 +0000
commitb846381fc3099b2340ba8c74d16178203a60d9a0 (patch)
treeca5c1efa138e72daf9ccc5bade8bf84ffa395f0a /include
parentd08f5952a7119403ed8054ff7acd072a51a762ec (diff)
Be sure to check ARC conventions on the implicit method declarations
of a property just in case the property's getter happens to be +1. We won't synthesize a getter for such a property, but we will allow the user to define a +1 method for it. rdar://13115896 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Sema/Sema.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index d17557260e..5b93e513ea 100644
--- a/include/clang/Sema/Sema.h
+++ b/include/clang/Sema/Sema.h
@@ -6361,6 +6361,7 @@ public:
ObjCMethodDecl *LookupMethodInObjectType(Selector Sel, QualType Ty,
bool IsInstance);
+ bool CheckARCMethodDecl(ObjCMethodDecl *method);
bool inferObjCARCLifetime(ValueDecl *decl);
ExprResult