diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-08-26 02:53:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-08-26 02:53:23 +0000 |
commit | 5fa63312cfc9a6cd2ea688eaea90ca534aeb8c0e (patch) | |
tree | 83551c7b1ed5b1eb65dcb25de9c14f53141cd9e4 /lib/AST/DeclObjC.cpp | |
parent | 4d7da2f4a39adcc2ea211fb30600fabde4f3a0b1 (diff) |
Fix return type for setter method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r-- | lib/AST/DeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index ce56b94613..857224f2b8 100644 --- a/lib/AST/DeclObjC.cpp +++ b/lib/AST/DeclObjC.cpp @@ -412,7 +412,7 @@ void ObjCInterfaceDecl::addPropertyMethods( ObjCMethodDecl::Create(Context, property->getLocation(), property->getLocation(), property->getSetterName(), - property->getType(), + Context.VoidTy, this, true, false, true, ObjCMethodDecl::Required); insMethods.push_back(SetterDecl); |