diff options
| author | Matheus Izvekov <mizvekov@gmail.com> | 2021-11-13 00:40:18 +0100 |
|---|---|---|
| committer | Matheus Izvekov <mizvekov@gmail.com> | 2021-11-15 23:07:45 +0100 |
| commit | c9e46219f38da5c3fbfe41012173dc893516826e (patch) | |
| tree | 85f67ee7019d7fd890bad0232e9d247e71e51472 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | fcd07f810781c1754c2e7e9641fd18b95fa1368c (diff) | |
[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, #libc, ldionne
Differential Revision: https://reviews.llvm.org/D110216
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
