diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-04-06 20:06:02 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-04-06 20:06:02 +0000 |
commit | eea7062c3a131718efe63f83499d9d78183cc85b (patch) | |
tree | a11748cd04a654335fed7c6641172557fd99c6fa /clang/test/CodeGenCXX/tail-padding.cpp | |
parent | 95ea1b05fdacc4148e790dc1c30042818fe3638b (diff) | |
download | bcm5719-llvm-eea7062c3a131718efe63f83499d9d78183cc85b.tar.gz bcm5719-llvm-eea7062c3a131718efe63f83499d9d78183cc85b.zip |
Don't assume constructors return void.
Should fix ARM buildbot.
llvm-svn: 329449
Diffstat (limited to 'clang/test/CodeGenCXX/tail-padding.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/tail-padding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/tail-padding.cpp b/clang/test/CodeGenCXX/tail-padding.cpp index c3089bfe5e6..8ade13fa91b 100644 --- a/clang/test/CodeGenCXX/tail-padding.cpp +++ b/clang/test/CodeGenCXX/tail-padding.cpp @@ -9,7 +9,7 @@ namespace Implicit { C f(C c) { return c; } // CHECK: define {{.*}} @_ZN8Implicit1CC1EOS0_ - // CHECK: call void @_ZN8Implicit1AC2ERKS0_( + // CHECK: call {{.*}} @_ZN8Implicit1AC2ERKS0_( // Note: this must memcpy 7 bytes, not 8, to avoid trampling over the virtual base class. // CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* {{.*}}, i8* {{.*}}, i64 7, i1 false) // CHECK: store i32 {{.*}} @_ZTVN8Implicit1CE @@ -26,7 +26,7 @@ namespace InitWithinNVSize { C f(C c) { return c; } // CHECK: define {{.*}} @_ZN16InitWithinNVSize1CC1EOS0_ - // CHECK: call void @_ZN16InitWithinNVSize1AC2ERKS0_( + // CHECK: call {{.*}} @_ZN16InitWithinNVSize1AC2ERKS0_( // This copies over the 'C::x' member, but that's OK because we've not initialized it yet. // CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* {{.*}}, i8* {{.*}}, i64 8, i1 false) // CHECK: store i32 {{.*}} @_ZTVN16InitWithinNVSize1CE |