diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-03 06:36:29 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-03 06:36:29 +0000 |
commit | 3849394b819c05fdbd1c3437c263b75482ebdb34 (patch) | |
tree | 39d784022d33e9e02e12bfce0caf92ae0c4a4d1d /clang/lib/Sema/SemaObjCProperty.cpp | |
parent | f934ec8b7b96ed024a266de491cdbdfe8132be44 (diff) | |
download | bcm5719-llvm-3849394b819c05fdbd1c3437c263b75482ebdb34.tar.gz bcm5719-llvm-3849394b819c05fdbd1c3437c263b75482ebdb34.zip |
Don't keep NumSelectorArgs in the ObjCMethodDecl, the number can be derived from the selector.
llvm-svn: 140983
Diffstat (limited to 'clang/lib/Sema/SemaObjCProperty.cpp')
-rw-r--r-- | clang/lib/Sema/SemaObjCProperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index 34c70207659..655adde37e2 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -1576,7 +1576,7 @@ void Sema::ProcessPropertyDecl(ObjCPropertyDecl *property, SC_None, SC_None, 0); - SetterMethod->setMethodParams(Context, &Argument, 1, 1); + SetterMethod->setMethodParams(Context, &Argument, 1); AddPropertyAttrs(*this, SetterMethod, property); |