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 ce56b94..857224f 100644
--- a/lib/AST/DeclObjC.cpp
+++ b/lib/AST/DeclObjC.cpp
@@ -412,7 +412,7 @@
ObjCMethodDecl::Create(Context, property->getLocation(),
property->getLocation(),
property->getSetterName(),
- property->getType(),
+ Context.VoidTy,
this,
true, false, true, ObjCMethodDecl::Required);
insMethods.push_back(SetterDecl);