summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-08-26 02:53:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-08-26 02:53:23 +0000
commit222ab49928ef817349b43301d7f4832910c61e80 (patch)
treefd672614f88cea4016ea0a37b6be6bc5bd62243e /clang/lib
parentad3cdc2ba7fd791ecfc0bcdae7b11fb4bb771622 (diff)
downloadbcm5719-llvm-222ab49928ef817349b43301d7f4832910c61e80.tar.gz
bcm5719-llvm-222ab49928ef817349b43301d7f4832910c61e80.zip
Fix return type for setter method.
llvm-svn: 55353
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/DeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index ce56b946130..857224f2b89 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud