diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-06-30 20:40:16 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-06-30 20:40:16 +0000 |
commit | 9dc6eef755c756db67552eccd5f2e910d8d504b3 (patch) | |
tree | de664e43946e8c99d3bdf353895f6d47fa69d364 /clang/test/CodeGenCXX/default-constructor-template-member.cpp | |
parent | 2e551adcd98dc5b9a3e1ceabd07dd7d0be94c4b7 (diff) | |
download | bcm5719-llvm-9dc6eef755c756db67552eccd5f2e910d8d504b3.tar.gz bcm5719-llvm-9dc6eef755c756db67552eccd5f2e910d8d504b3.zip |
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.
llvm-svn: 185291
Diffstat (limited to 'clang/test/CodeGenCXX/default-constructor-template-member.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/default-constructor-template-member.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/default-constructor-template-member.cpp b/clang/test/CodeGenCXX/default-constructor-template-member.cpp index 0dd64dfcb4c..215696405a4 100644 --- a/clang/test/CodeGenCXX/default-constructor-template-member.cpp +++ b/clang/test/CodeGenCXX/default-constructor-template-member.cpp @@ -5,6 +5,7 @@ struct B { A<int> x; }; void a() { B b; } + // CHECK: call {{.*}} @_ZN1BC1Ev -// CHECK: define linkonce_odr {{.*}} @_ZN1BC1Ev(%struct.B* %this) unnamed_addr +// CHECK: define linkonce_odr {{.*}} @_ZN1BC1Ev(%struct.B* {{.*}}%this) unnamed_addr // CHECK: call {{.*}} @_ZN1AIiEC1Ev |