Files
clang-p2996/clang/test/AST/ast-dump-using-template.cpp
Haojian Wu 1f5fdc22a2 [clang] Fix a UsingTemplate regression after 3e78fa8602
TemplateName::getAsTemplateDecl() returns the underlying TemplateDecl
for a UsingTemplate kind template name. We should respect that in the
Profile method otherwise we might desugar the template name unexpectedly
(e.g. for template argument deduction with deduciton guides).

Differential Revision: https://reviews.llvm.org/D146202
2023-03-16 12:59:26 +01:00

1.8 KiB