llvm-project/clang/test/CXX
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
..
basic Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
class PR51874: Fix diagnostics for defaulted, implicitly deleted 'operator!='. 2021-09-15 15:43:02 -07:00
class.access [clang] Implement P0692R1 from C++20 (access checking on specializations and instantiations) 2021-08-10 19:20:50 +04:00
class.derived Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
conv [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
cpp [Clang] Add __STDCPP_THREADS__ to standard predefine macros 2020-11-22 16:05:53 -08:00
dcl [clang] fix transformation of template arguments of 'auto' type constraints 2021-09-08 03:22:34 +02:00
dcl.dcl Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
dcl.decl Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
drs Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
except Revert D105169 due to the two-stage failure in ASAN 2021-10-18 23:52:46 +09:00
expr Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
lex Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
module Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
modules-ts Fix a diagnoses-valid bug with using declarations 2021-06-04 15:52:07 -04:00
over [c++20] Further extend the set of comparisons broken by C++20 that we 2020-03-20 14:22:48 -07:00
special Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
stmt.stmt Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
temp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00