llvm-project/clang/test/Layout
David Blaikie aee4925507 Recommit: Compress formatting of array type names (int [4] -> int[4])
Based on post-commit review discussion on
2bd8493847 with Richard Smith.

Other uses of forcing HasEmptyPlaceHolder to false seem OK to me -
they're all around pointer/reference types where the pointer/reference
token will appear at the rightmost side of the left side of the type
name, so they make nested types (eg: the "int" in "int *") behave as
though there is a non-empty placeholder (because the "*" is essentially
the placeholder as far as the "int" is concerned).

This was originally committed in 277623f4d5

Reverted in f9ad1d1c77 due to breakages
outside of clang - lldb seems to have some strange/strong dependence on
"char [N]" versus "char[N]" when printing strings (not due to that name
appearing in DWARF, but probably due to using clang to stringify type
names) that'll need to be addressed, plus a few other odds and ends in
other subprojects (clang-tools-extra, compiler-rt, etc).
2021-10-21 11:34:43 -07:00
..
aix-Wpacked-expecting-diagnostics.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
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 Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
aix-no-unique-address-with-double.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
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 Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
aix-power-natural-interaction.cpp
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
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 Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
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 Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07: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 Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
ms-x86-empty-nonvirtual-bases.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
ms-x86-empty-virtual-base.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
ms-x86-lazy-empty-nonvirtual-base.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
ms-x86-member-pointers.cpp
ms-x86-misalignedarray.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
ms-x86-pack-and-align.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07: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 Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
v6-empty.cpp
watchos-standard-layout.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00