llvm-project/clang/test/Layout
Richard Smith b6070db0d0 DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard
layout" rules.

The new rules say that a standard-layout struct has its first non-static
data member and all base classes at offset 0, and consider a class to
not be standard-layout if that would result in multiple subobjects of a
single type having the same address.

We track "is C++11 standard-layout class" separately from "is
standard-layout class" so that the ABIs that need this information can
still use it.

Differential Revision: https://reviews.llvm.org/D45176

llvm-svn: 329332
2018-04-05 18:55:37 +00:00
..
itanium-union-bitfield.cpp
ms-vtordisp-local.cpp
ms-x86-alias-avoidance-padding.cpp
ms-x86-aligned-tail-padding.cpp
ms-x86-basic-layout.cpp
ms-x86-bitfields-vbases.cpp
ms-x86-declspec-empty_bases.cpp
ms-x86-empty-base-after-base-with-vbptr.cpp
ms-x86-empty-layout.c
ms-x86-empty-nonvirtual-bases.cpp
ms-x86-empty-virtual-base.cpp
ms-x86-lazy-empty-nonvirtual-base.cpp
ms-x86-member-pointers.cpp
ms-x86-misalignedarray.cpp
ms-x86-pack-and-align.cpp
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
watchos-standard-layout.cpp DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard 2018-04-05 18:55:37 +00:00