summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/implicit-copy-constructor.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2014-05-28 09:56:42 +0000
committerNick Lewycky <nicholas@mxc.ca>2014-05-28 09:56:42 +0000
commit9b46eb81127be4a7560952677294d3c376648c08 (patch)
tree99e4aa165636c60d4f0e903a00b1f41e7976a6ae /clang/test/CodeGenCXX/implicit-copy-constructor.cpp
parenta09b70579a8cbddbd677250916e82cf43932bd99 (diff)
downloadbcm5719-llvm-9b46eb81127be4a7560952677294d3c376648c08.tar.gz
bcm5719-llvm-9b46eb81127be4a7560952677294d3c376648c08.zip
Add 'nonnull' parameter or return attribute when producing an llvm pointer type in a function type where the C++ type is a reference. Update the tests.
llvm-svn: 209723
Diffstat (limited to 'clang/test/CodeGenCXX/implicit-copy-constructor.cpp')
-rw-r--r--clang/test/CodeGenCXX/implicit-copy-constructor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/implicit-copy-constructor.cpp b/clang/test/CodeGenCXX/implicit-copy-constructor.cpp
index bb04318e730..fa6be99d114 100644
--- a/clang/test/CodeGenCXX/implicit-copy-constructor.cpp
+++ b/clang/test/CodeGenCXX/implicit-copy-constructor.cpp
@@ -40,7 +40,7 @@ void f(D d) {
D d2(d);
}
-// CHECK-LABEL: define linkonce_odr void @_ZN1DC1ERS_(%struct.D* %this, %struct.D*) unnamed_addr
+// CHECK-LABEL: define linkonce_odr void @_ZN1DC1ERS_(%struct.D* %this, %struct.D* nonnull) unnamed_addr
// CHECK: call void @_ZN1AC1Ev
// CHECK: call void @_ZN1CC2ERS_1A
// CHECK: call void @_ZN1AD1Ev
OpenPOWER on IntegriCloud