From: Daniel Dunbar Date: Tue, 26 Aug 2008 02:53:23 +0000 (+0000) Subject: Fix return type for setter method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fa63312cfc9a6cd2ea688eaea90ca534aeb8c0e;p=clang Fix return type for setter method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55353 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);