Files
clang-p2996/clang/lib/AST/TemplateName.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

13 KiB