From c89450e0546154f69e1afc9b0bdf5a660ee4d558 Mon Sep 17 00:00:00 2001 From: Warren Hunt Date: Mon, 24 Mar 2014 21:37:27 +0000 Subject: [MS-ABI] Drop Special Layout in 64-bit mode. As of cl.exe version 18, the special layout rules for structs with alignment 16 or greater has been dropped. This patch drops the behavior from clang. This patch also updates the lit tests to reflect the change. llvm-svn: 204674 --- clang/test/Layout/ms-x86-empty-virtual-base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Layout/ms-x86-empty-virtual-base.cpp') diff --git a/clang/test/Layout/ms-x86-empty-virtual-base.cpp b/clang/test/Layout/ms-x86-empty-virtual-base.cpp index 267f82afef7..23e287acf93 100644 --- a/clang/test/Layout/ms-x86-empty-virtual-base.cpp +++ b/clang/test/Layout/ms-x86-empty-virtual-base.cpp @@ -240,7 +240,7 @@ struct G : virtual C0, virtual B0, virtual B1, D0, virtual C1 { // CHECK-X64-NEXT: 0 | struct D0 (primary base) // CHECK-X64-NEXT: 0 | (D0 vftable pointer) // CHECK-X64-NEXT: 8 | (G vbtable pointer) -// CHECK-X64-NEXT: 16 | int a +// CHECK-X64-NEXT: 24 | int a // CHECK-X64-NEXT: 32 | struct C0 (virtual base) // CHECK-X64-NEXT: 32 | int a // CHECK-X64-NEXT: 40 | struct B0 (virtual base) (empty) -- cgit v1.2.3