aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2024-04-19 22:07:11 +0200
committerGitHub <noreply@github.com>2024-04-19 22:07:11 +0200
commitc8e65e193d542464421ad4f9a9965d45b302ac0c (patch)
tree5d59c116887150797a3f61d7c3852c01b9cdc0eb /llvm/unittests/Support/VirtualFileSystemTest.cpp
parentcee7d994b94db625177cdfebcb8a6ce1ed677f85 (diff)
downloadllvm-c8e65e193d542464421ad4f9a9965d45b302ac0c.zip
llvm-c8e65e193d542464421ad4f9a9965d45b302ac0c.tar.gz
llvm-c8e65e193d542464421ad4f9a9965d45b302ac0c.tar.bz2
[clang] CTAD: Fix require-clause is not transformed. (#89378)
Fixes https://github.com/llvm/llvm-project/issues/89013 When building the deduction guide, we use the TemplateArgsForBuildingFPrime to transform the require-clause from the underlying class deduction guide. However, we do this at the wrong place where not all elements of TemplateArgsForBuildingFPrime are initialized. The fix involves rearranging the transformRequireClause call to the correct location. As part of the fix, we extend the TemplateInstantiator to support more types in the template-rewrite mode. Otherwise, we will encounter an assertion error when attempting to rewrite the template type parameter type like D with a complex type like Derived<U>.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions