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

qualified names of operator methods have additional spaces (sometimes) #85

Open
jurgenvinju opened this issue Feb 26, 2024 · 2 comments
Assignees

Comments

@jurgenvinju
Copy link
Member

an operator like operator <<(Stream x) would become |cpp+method://bla/operator%20%20%3C%3C...| because there are accidentally two spaces between operator and <<, while at the resolution of a usage site the name would not contain the spaces. This way we miss links between declarations and usages of operators in the call graph and we have false negatives in the downstream analyses.

@jurgenvinju jurgenvinju self-assigned this Feb 26, 2024
@linuswagner
Copy link
Collaborator

linuswagner commented Feb 26, 2024

Wouldn't it already be enough to remove all whitespaces from before ( in the file section of an URI since method names cannot contain spaces?

@jurgenvinju
Copy link
Member Author

yes that would definitely work, but then we would never observe any hidden other issues anymore. So I prefer a more "surgical" approach. I'll do exactly that, but only if the resolved method name is an operator.

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

No branches or pull requests

2 participants