If the underlying template name of a qualified template name is a using
decl, TemplateName::getAsUsingDecl() will return it.
This will make the UsingTemplateName consumer life easier.
Paths
| Differential D124437
[AST] Consider QualifiedTemplateName in TemplateName::getAsUsingDecl(). ClosedPublic Authored by hokein on Apr 26 2022, 12:36 AM.
Details Summary If the underlying template name of a qualified template name is a using This will make the UsingTemplateName consumer life easier.
Diff Detail
Unit TestsFailed
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 26 2022, 12:36 AM This revision is now accepted and ready to land.Apr 27 2022, 5:03 AM This revision was landed with ongoing or failed builds.Apr 27 2022, 5:16 AM Closed by commit rG8052f4d22a12: [AST] Consider QualifiedTemplateName in TemplateName::getAsUsingDecl(). (authored by hokein). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 425138 clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
clang/lib/AST/TemplateName.cpp
clang/unittests/AST/TemplateNameTest.cpp
|