From 5fa63312cfc9a6cd2ea688eaea90ca534aeb8c0e Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 26 Aug 2008 02:53:23 +0000 Subject: [PATCH] Fix return type for setter method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55353 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/DeclObjC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1