Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store implicit specializations as distinct symbols in the index, with their own refs #536

Open
HighCommander4 opened this issue Sep 21, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@HighCommander4
Copy link

HighCommander4 commented Sep 21, 2020

Currently, a usage of an implicit template specialization is stored as a ref to the template decl in the index.

It would be useful to be able to find references to a specific specialization only, even if it's an implicit specialization. This would require creating distinct symbols for implicit specializations, with their own refs.

This suggestion originally came up here.

@kadircet
Copy link
Member

It is important to note that this likely implies a huge size increse in index. So would be nice to see some numbers with a quick prototype, if someone decides to implement this in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants