]> granicus.if.org Git - clang/commitdiff
Fix return type for setter method.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 26 Aug 2008 02:53:23 +0000 (02:53 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 26 Aug 2008 02:53:23 +0000 (02:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55353 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/DeclObjC.cpp

index ce56b946130e4bab0882061d0a542078a1139a55..857224f2b89fcfbd367d9b0f7b1710fd554c2f3f 100644 (file)
@@ -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);