]> granicus.if.org Git - clang/commit
Restore r184205 and associated commits (after commit of r185290)
authorStephen Lin <stephenwlin@gmail.com>
Sun, 30 Jun 2013 20:40:16 +0000 (20:40 +0000)
committerStephen Lin <stephenwlin@gmail.com>
Sun, 30 Jun 2013 20:40:16 +0000 (20:40 +0000)
commit3b50e8d78c34fc57e25781015a2cb0536ca54f89
tree5cd770aa00c266f1260fb9a219f49758d1418ee0
parent1ec5750908039701b206fc32dd2b95c45cd5cce8
Restore r184205 and associated commits (after commit of r185290)

This allows clang to use the backend parameter attribute 'returned' when generating 'this'-returning constructors and destructors in ARM and MSVC C++ ABIs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185291 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/arm.cpp
test/CodeGenCXX/constructor-destructor-return-this.cpp
test/CodeGenCXX/copy-constructor-elim-2.cpp
test/CodeGenCXX/copy-constructor-synthesis-2.cpp
test/CodeGenCXX/default-constructor-template-member.cpp
test/CodeGenCXX/mangle-template.cpp
test/CodeGenCXX/microsoft-abi-structors.cpp
test/CodeGenCXX/virtual-base-destructor-call.cpp