From: Anders Carlsson Date: Sun, 17 Apr 2011 21:49:47 +0000 (+0000) Subject: Cleanup tests, no functionality change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1741d7b3c88eda8891d30f5c920d55dfd54c62f0;p=clang Cleanup tests, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129672 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/derived-to-virtual-base-class-calls-final.cpp b/test/CodeGenCXX/derived-to-virtual-base-class-calls-final.cpp index e332f40200..0e15302243 100644 --- a/test/CodeGenCXX/derived-to-virtual-base-class-calls-final.cpp +++ b/test/CodeGenCXX/derived-to-virtual-base-class-calls-final.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s struct A { int i; }; -struct B { int j; }; +struct B { char j; }; struct C : A, B { int k; }; struct D final : virtual C { diff --git a/test/CodeGenCXX/dynamic-cast-always-null.cpp b/test/CodeGenCXX/dynamic-cast-always-null.cpp index 48ec69226c..e4e8694218 100644 --- a/test/CodeGenCXX/dynamic-cast-always-null.cpp +++ b/test/CodeGenCXX/dynamic-cast-always-null.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -I%S %s -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -std=c++0x -o - | FileCheck %s struct A { virtual ~A(); }; struct B final : A { }; -struct C { virtual ~C(); }; +struct C { virtual ~C(); int c; }; // CHECK: @_Z1fP1B C *f(B* b) { diff --git a/test/CodeGenCXX/value-init.cpp b/test/CodeGenCXX/value-init.cpp index 258d6926e1..188c8f5a14 100644 --- a/test/CodeGenCXX/value-init.cpp +++ b/test/CodeGenCXX/value-init.cpp @@ -121,6 +121,7 @@ namespace zeroinit { template struct X3 : X2 { X3() : X2() { } + int i; }; @@ -133,7 +134,7 @@ namespace zeroinit { X3().f(); } - // CHECK: define linkonce_odr void @_ZN8zeroinit2X3IiEC2Ev(%struct.B* %this) unnamed_addr + // CHECK: define linkonce_odr void @_ZN8zeroinit2X3IiEC2Ev(%"struct.zeroinit::X3"* %this) unnamed_addr // CHECK: call void @llvm.memset.p0i8.i64 // CHECK-NEXT: call void @_ZN8zeroinit2X2IiEC2Ev // CHECK-NEXT: ret void