summaryrefslogtreecommitdiffstats
path: root/clang/test/Layout/ms-x86-empty-virtual-base.cpp
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2014-03-24 21:37:27 +0000
committerWarren Hunt <whunt@google.com>2014-03-24 21:37:27 +0000
commitc89450e0546154f69e1afc9b0bdf5a660ee4d558 (patch)
treeb059c683985d56cc42c6b5c8fb4d8caa4d64ac99 /clang/test/Layout/ms-x86-empty-virtual-base.cpp
parentc95ec91e2a2e0166a281071f8b0fcf7eec665af3 (diff)
downloadbcm5719-llvm-c89450e0546154f69e1afc9b0bdf5a660ee4d558.tar.gz
bcm5719-llvm-c89450e0546154f69e1afc9b0bdf5a660ee4d558.zip
[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
Diffstat (limited to 'clang/test/Layout/ms-x86-empty-virtual-base.cpp')
-rw-r--r--clang/test/Layout/ms-x86-empty-virtual-base.cpp2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud