Corrections to r184205 ('this'-return optimization) due to the wrong version of the...
authorStephen Lin <stephenwlin@gmail.com>
Wed, 19 Jun 2013 18:10:35 +0000 (18:10 +0000)
committerStephen Lin <stephenwlin@gmail.com>
Wed, 19 Jun 2013 18:10:35 +0000 (18:10 +0000)
commitc467c873e63bc3ebd52ee8d4ca5e22d3111ffb50
tree9f0e4b1671ffaaf26b4d025ccfb1465cea5d711c
parentc0607ed68b739ac7c9a8aa415ef60010eacd838b
Corrections to r184205 ('this'-return optimization) due to the wrong version of the patch being committed originally.
1) Removed useless return value of CGCXXABI::EmitConstructorCall and CGCXXABI::EmitVirtualDestructorCall and implementations
2) Corrected last portion of CodeGenCXX/constructor-destructor-return-this to correctly test for non-'this'-return of virtual destructor calls

llvm-svn: 184330
clang/lib/CodeGen/CGCXXABI.h
clang/lib/CodeGen/CGClass.cpp
clang/lib/CodeGen/CGExprCXX.cpp
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/lib/CodeGen/MicrosoftCXXABI.cpp
clang/test/CodeGenCXX/constructor-destructor-return-this.cpp