llvm-project/clang/test/Layout
Steven Wan 806ff3c4a4 [AIX] Check for typedef properly when getting preferred type align
The current check for typedef is naive and doesn't deal with any convoluted cases. This patch makes use of the new 'AlignRequirement' enum field from 'TypeInfo' to determine whether or not this is an 'aligned' attribute on a typedef.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D109387
2021-09-08 16:21:52 -04:00
..
aix-Wpacked-expecting-diagnostics.cpp
aix-Wpacked-no-diagnostics.cpp
aix-bitfield-alignment.c [PowerPC][AIX] Fix Zero-width bit fields wrt MaxFieldAlign. 2021-07-12 15:31:15 -04:00
aix-bitfield-alignment.cpp [AIX] Implement AIX special bitfield related alignment rules 2021-05-17 11:30:29 -04:00
aix-double-struct-member.cpp [Frontend] Add pragma align natural and sort out pragma pack stack effect 2021-01-13 10:53:24 -05:00
aix-no-unique-address-with-double.cpp
aix-pack-attr-on-base.cpp
aix-packed-bitfields.c [PowerPC][AIX] Packed zero-width bitfields do not affect alignment. 2021-08-04 11:03:25 -04:00
aix-power-alignment-typedef-2.cpp [AIX] Check for typedef properly when getting preferred type align 2021-09-08 16:21:52 -04:00
aix-power-alignment-typedef.cpp [AIX] "aligned" attribute does not decrease alignment 2021-08-29 21:33:05 -04:00
aix-power-natural-interaction.cpp [Frontend] Add pragma align natural and sort out pragma pack stack effect 2021-01-13 10:53:24 -05:00
aix-type-align-and-pack-attr.cpp [AIX] "aligned" attribute does not decrease alignment 2021-08-29 21:33:05 -04:00
aix-virtual-function-and-base-with-double.cpp
dump-canonical.cpp [clang] Add -fdump-record-layouts-canonical option 2021-07-05 17:35:37 -04:00
dump-complete.cpp [clang] Add cc1 option for dumping layout for all complete types 2021-06-22 16:27:26 -04:00
itanium-pack-and-align.cpp [AIX] Support two itanium alignment LIT testcases for AIX using regex 2020-10-13 16:47:01 -04:00
itanium-union-bitfield.cpp [SystemZ][z/OS] fix lit test related to alignment 2021-03-23 13:15:19 -04:00
ms-aligned-array.c
ms-vtordisp-local.cpp
ms-x86-alias-avoidance-padding.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-aligned-tail-padding.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-basic-layout.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
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 [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-empty-virtual-base.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-lazy-empty-nonvirtual-base.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-member-pointers.cpp
ms-x86-misalignedarray.cpp
ms-x86-pack-and-align.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-primary-bases.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-size-alignment-fail.cpp
ms-x86-vfvb-alignment.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-vfvb-sharing.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms-x86-vtordisp.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms_struct-bitfields.c
no-unique-address.cpp
v6-empty.cpp
watchos-standard-layout.cpp