diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-07-24 00:34:08 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-07-24 00:34:08 +0000 |
commit | 72cdffa401698cccd63279718109c5fbf4e8a689 (patch) | |
tree | 283490b2e1c85ddd2d776298fa19d9d5cee2d3e7 /clang/lib/CodeGen/CGObjC.cpp | |
parent | 536f091f956715a82c2fb52b88e9406754535025 (diff) | |
download | bcm5719-llvm-72cdffa401698cccd63279718109c5fbf4e8a689.tar.gz bcm5719-llvm-72cdffa401698cccd63279718109c5fbf4e8a689.zip |
Return type of a setter call caused by
use of property-dot syntax using 'super' as receiver
is 'void'. This fixes a bug in generating correct
API for setter call. Fixes radar 8203426.
llvm-svn: 109297
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index be060b42e1a..62a118cb02e 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -572,7 +572,7 @@ void CodeGenFunction::EmitObjCSuperPropertySet(const Expr *Exp, Args.push_back(std::make_pair(Src, Exp->getType())); CGM.getObjCRuntime().GenerateMessageSendSuper(*this, ReturnValueSlot(), - Exp->getType(), + getContext().VoidTy, S, OMD->getClassInterface(), isCategoryImpl, |