You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The using-decl should be marked as a reference to either vector<T> or vector<int>, but is not.
The reason is that (in an implementation file) we iterate over the UsingShadowDecls and drop those whose targets are not Used or Referenced. In this case the UsingShadowDecl points at the primary template vector<T> but only the specialization vector<int> is marked as used.
Possible fixes:
change the AST to also mark the primary template as referenced/used
change the logic to query all template specializations when the target is a templatedecl
drop this filtering approach to UsingDecls (we already don't use it for headers)