This is an archive of the discontinued LLVM Phabricator instance.

[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
decl, TemplateName::getAsUsingDecl() will return it.

This will make the UsingTemplateName consumer life easier.

Diff Detail

Event Timeline

hokein created this revision.Apr 26 2022, 12:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2022, 12:36 AM
hokein requested review of this revision.Apr 26 2022, 12:36 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 26 2022, 12:36 AM
hokein updated this revision to Diff 425481.Apr 27 2022, 4:45 AM

Fix the broken test.

sammccall accepted this revision.Apr 27 2022, 5:03 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
This revision was automatically updated to reflect the committed changes.