diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2024-09-18 18:22:14 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 18:22:14 -0300 |
commit | e0ad34e56590fa2e6ffdf617e044de7eadee2139 (patch) | |
tree | 8251a2b0c99f53fc559d4bb692d209a8260ca555 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | abb317ff9aba8a58449d91f6162597e54d02a57c (diff) | |
download | llvm-e0ad34e56590fa2e6ffdf617e044de7eadee2139.zip llvm-e0ad34e56590fa2e6ffdf617e044de7eadee2139.tar.gz llvm-e0ad34e56590fa2e6ffdf617e044de7eadee2139.tar.bz2 |
[clang] Use canonical type for substitution which might be incomplete (#109065)
When checking deduction consistency, a substitution can be incomplete
such that only sugar parts refer to non-deduced template parameters.
This would not otherwise lead to an inconsistent deduction, so this
patch makes it so we canonicalize the types before substitution in order
to avoid that possibility, for now.
When we are able to produce substitution failure diagnostics for partial
ordering, we might want to improve the TemplateInstantiator so that it
does not fail in that case.
This fixes a regression on top of #100692, which was reported on the PR.
This was never released, so there are no release notes.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions