llvm-project/clang/test/Layout
David Majnemer 78945d0721 [MS ABI] Don't crash when inheriting from base with trailing empty array member
We got this right for Itanium but not MSVC because CGRecordLayoutBuilder
was checking if the base's size was zero when it should have been
checking the non-virtual size.

This fixes PR21040.

llvm-svn: 251036
2015-10-22 18:04:22 +00:00
..
itanium-union-bitfield.cpp Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
ms-x86-alias-avoidance-padding.cpp Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
ms-x86-aligned-tail-padding.cpp
ms-x86-basic-layout.cpp
ms-x86-bitfields-vbases.cpp Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
ms-x86-empty-base-after-base-with-vbptr.cpp
ms-x86-empty-layout.c Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
ms-x86-empty-nonvirtual-bases.cpp [MS ABI] Don't crash when inheriting from base with trailing empty array member 2015-10-22 18:04:22 +00:00
ms-x86-empty-virtual-base.cpp Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
ms-x86-lazy-empty-nonvirtual-base.cpp
ms-x86-member-pointers.cpp
ms-x86-misalignedarray.cpp
ms-x86-pack-and-align.cpp Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
ms-x86-primary-bases.cpp
ms-x86-size-alignment-fail.cpp
ms-x86-vfvb-alignment.cpp
ms-x86-vfvb-sharing.cpp
ms-x86-vtordisp.cpp
ms_struct-bitfields.c Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00