llvm-project/libcxx/test
Matheus Izvekov 4d8fff477e
[clang] retain type sugar in auto / template argument deduction
This implements the following changes:
* AutoType retains sugared deduced-as-type.
* Template argument deduction machinery analyses the sugared type all the way
down. It would previously lose the sugar on first recursion.
* Undeduced AutoType will be properly canonicalized, including the constraint
template arguments.
* Remove the decltype node created from the decltype(auto) deduction.

As a result, we start seeing sugared types in a lot more test cases,
including some which showed very unfriendly `type-parameter-*-*` types.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D110216
2021-11-13 03:35:22 +01:00
..
configs [libc++][CI] Add AIX pipeline config 2021-11-08 10:30:27 -05:00
libcxx [libc++] Implement P2186R2 (Remove Garbage Collection) 2021-11-11 19:03:00 +01:00
std [clang] retain type sugar in auto / template argument deduction 2021-11-13 03:35:22 +01:00
support [libc++] P0433R2: test that deduction guides are properly SFINAEd away. 2021-11-09 09:32:24 -08:00
CMakeLists.txt [libc++] Simplify writing testing config files 2021-10-06 15:51:02 -04:00
lit.cfg.py [libc++] Allow specifying custom Lit config files 2020-06-18 10:06:04 -04:00