diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2024-05-16 13:01:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 13:01:18 +0200 |
commit | a9605730a481707623358d3b12220f05cfdc50a8 (patch) | |
tree | 5688a16668e7a65f334f1582328d0cbf1101ff02 /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
parent | 239f8b9eb0725b4c6ff8342717b6abbfc9a7915a (diff) | |
download | llvm-a9605730a481707623358d3b12220f05cfdc50a8.zip llvm-a9605730a481707623358d3b12220f05cfdc50a8.tar.gz llvm-a9605730a481707623358d3b12220f05cfdc50a8.tar.bz2 |
[clang] CTAD: implement the missing IsDeducible constraint for alias templates (#89358)
Fixes https://github.com/llvm/llvm-project/issues/85192
Fixes https://github.com/llvm/llvm-project/issues/84492
This patch implements the "IsDeducible" constraint where the template
arguments of the alias template can be deduced from the returned type of
the synthesized deduction guide, per C++ [over.match.class.deduct]p4. In
the implementation, we perform the deduction directly, which is more
efficient than the way specified in the standard.
Also update relevant CTAD tests which were incorrectly compiled due to
the missing constraint.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions