]> granicus.if.org Git - clang/commit
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)
commit4444dbbb96ba55ff8a05a1918627f609a387db9f
tree1eca5e8f7492bfa88ef404cf19b68a6ad83e4608
parent2d588b4bc7127adf1a1c621002dfe452a99fef6f
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/constructor-destructor-return-this.cpp