diff options
| author | Matheus Izvekov <mizvekov@gmail.com> | 2021-09-13 15:35:45 +0200 |
|---|---|---|
| committer | Matheus Izvekov <mizvekov@gmail.com> | 2021-11-12 01:16:31 +0100 |
| commit | 9b6036deedf28e10d797fc4ca734d57680d18053 (patch) | |
| tree | c27b5d77fd4c7fc217f1e38f6572a4633bfdeb3f /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | ac33e65d2169260364e3e92fed2ba81c58d5ce33 (diff) | |
| download | llvm-9b6036deedf28e10d797fc4ca734d57680d18053.zip llvm-9b6036deedf28e10d797fc4ca734d57680d18053.tar.gz llvm-9b6036deedf28e10d797fc4ca734d57680d18053.tar.bz2 | |
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions
