diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-09 20:23:04 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-09 20:23:04 +0000 |
commit | fef30b55230064d334a669a065a1c9acdb87cdfe (patch) | |
tree | 87b4f897e5e242851b4d5108e0e8de9ec3d12432 /lib/Sema/SemaDeclObjC.cpp | |
parent | 15faa7fdfb496489dec9470aa5eb699b29ecdacc (diff) |
Support for implementation of property in the case where
the synthesis is in an implementation of s subclass of
a super class where the property has been declared.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 308c125d9a..fa73bcf259 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -42,7 +42,7 @@ void Sema::ObjCActOnStartOfMethodDef(Scope *FnBodyScope, DeclTy *D) { // binding to their use. // Insert the invisible arguments, self and _cmd! - MDecl->createImplicitParams(Context); + MDecl->createImplicitParams(Context, MDecl->getClassInterface()); PushOnScopeChains(MDecl->getSelfDecl(), FnBodyScope); PushOnScopeChains(MDecl->getCmdDecl(), FnBodyScope); |