llvm-project/clang/test/CXX/drs
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
..
dr0xx.cpp Remove redundant check for access in the conversion from the naming 2020-11-29 19:21:59 -08:00
dr1xx.cpp [clang] fix typo correction not looking for candidates in base classes. 2021-10-16 00:35:22 +02:00
dr2xx.cpp Implement P1949 2021-08-18 07:33:14 -04:00
dr3xx.cpp [clang] p0388 conversion to incomplete array 2021-10-12 07:35:20 -07:00
dr4xx.cpp Explain why the array bound is non-constant in VLA diagnostics. 2020-08-19 15:45:51 -07:00
dr5xx.cpp
dr6xx.cpp [clang] Set max allowed alignment to 2^32 2021-10-08 11:44:15 -07:00
dr7xx.cpp Diagnose -Wunused-value based on CFG reachability 2021-09-28 10:00:15 -07:00
dr9xx.cpp [clang][NFC] Mark CWG 974 and 1814 (default argument in a... 2020-06-13 13:49:07 +01:00
dr10xx.cpp Fully qualify template template parameters when printing 2021-09-02 15:04:34 -07:00
dr11xx.cpp
dr12xx.cpp
dr13xx.cpp Add test for DR1307, which we have already implemented. 2021-09-24 10:24:32 -07:00
dr14xx.cpp Diagnose -Wunused-value based on CFG reachability 2021-09-28 10:00:15 -07:00
dr15xx.cpp Print nullptr_t namespace qualified within std:: 2021-09-21 11:21:40 -07:00
dr16xx.cpp
dr17xx.cpp Fix test from 8dd42f, capitalization in test 2021-09-24 10:24:32 -07:00
dr18xx.cpp [clang][NFC] Mark CWG 974 and 1814 (default argument in a... 2020-06-13 13:49:07 +01:00
dr19xx.cpp Fix parsing of enum-base to follow C++11 rules. 2020-05-08 19:32:00 -07:00
dr20xx.cpp Diagnose -Wunused-value based on CFG reachability 2021-09-28 10:00:15 -07:00
dr21xx.cpp DR1413 and part of P1815R2: Minor improvements to Clang's determination 2020-12-15 14:53:26 -08:00
dr22xx.cpp PR23029 / C++ DR2233: Allow expanded parameter packs to follow 2020-06-02 13:48:59 -07:00
dr23xx.cpp [Sema] Use the proper cast for a fixed bool enum. 2020-08-16 18:40:08 +02:00
dr118.cpp
dr158.cpp
dr177x.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
dr412.cpp
dr1748.cpp