Skip to content

using template names with aliasing on does not work as expected #5935

@zrlk

Description

@zrlk

The negated groups in the following (to be submitted as template_using_name.cc) should not be negated:

namespace ns {
//- @S defines/binding TemplateS
template <typename T> struct S {};
}
//- !{@S ref TemplateS}  // TODO(zrlk): Targets missing node.
using ns::S;
// This trips an unimplemented check (TN.UsingTemplate) in
// BuildNodeIdForTemplateName
//- @"S<int>" ref TemplateSInt
//- TemplateSInt param.0 TemplateS
//- !{@S ref TemplateS}  // TODO(zrlk): No anchor for S
S<int> s;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions