diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-09 15:40:42 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-09 15:40:42 +0000 |
commit | 4ecb25fa94897b2c03510292acace710e5262ba5 (patch) | |
tree | 9eb5948fa95dde4d9f06a44f8aa933ce7cf1a7d4 /lib/Sema/SemaObjCProperty.cpp | |
parent | 08c0cdfd43fc395e1986106a04efa249f63af859 (diff) |
Fixes a regression caused by implementing cstyle methods
for objc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaObjCProperty.cpp')
-rw-r--r-- | lib/Sema/SemaObjCProperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaObjCProperty.cpp b/lib/Sema/SemaObjCProperty.cpp index d5174a827e..3bf34665be 100644 --- a/lib/Sema/SemaObjCProperty.cpp +++ b/lib/Sema/SemaObjCProperty.cpp @@ -954,7 +954,7 @@ void Sema::ProcessPropertyDecl(ObjCPropertyDecl *property, /*TInfo=*/0, VarDecl::None, 0); - SetterMethod->setMethodParams(Context, &Argument, 1); + SetterMethod->setMethodParams(Context, &Argument, 1, 1); CD->addDecl(SetterMethod); } else // A user declared setter will be synthesize when @synthesize of |