diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2024-05-20 16:11:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 16:11:15 +0200 |
commit | 1553b21f6d3b620b8e32121b974793342820ab8c (patch) | |
tree | dc722c708a2262bd57d95b3af864b0e0d2dc62e3 /llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp | |
parent | d108fa03d4ac1a2634fa0a1e9b3058f4196f261c (diff) | |
download | llvm-1553b21f6d3b620b8e32121b974793342820ab8c.zip llvm-1553b21f6d3b620b8e32121b974793342820ab8c.tar.gz llvm-1553b21f6d3b620b8e32121b974793342820ab8c.tar.bz2 |
[clang] CTAD alias: Fix missing template arg packs during the transformation (#92535)
clang rejects some valid code (see testcases) because of an incorrect
transformed deduction guides. This patch fixes it.
We miss the template argument packs during the transformation (`auto
(type-parameter-0-0...) -> Foo<>`). In
`TreeTransform::TransformTemplateArguments `, we have a logic of
handling template argument packs which were originally added to support
CTAD alias, it doesn't seem to be needed, we need to unpack them.
Diffstat (limited to 'llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions