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

Clangd doesn't find cross references to UDL #94599

Closed
usx95 opened this issue Jun 6, 2024 · 1 comment · Fixed by #94528
Closed

Clangd doesn't find cross references to UDL #94599

usx95 opened this issue Jun 6, 2024 · 1 comment · Fixed by #94528
Labels

Comments

@usx95
Copy link
Contributor

usx95 commented Jun 6, 2024

bool operator"" _b(unsigned long long value);
    
bool x = 1_b;

Finding references on _^b does not give any references except itself. Reference to _b in bool x = 1_b is missing.

Similarly, 1_^b gives no references at all.

@usx95 usx95 added the clangd label Jun 6, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Jun 6, 2024

@llvm/issue-subscribers-clangd

Author: Utkarsh Saxena (usx95)

```cpp bool operator"" _b(unsigned long long value);

bool x = 1_b;


Finding references on `_^b` does not give any references except itself. Reference to `_b` in `bool x = 1_b` is missing.

Similarly, `1_^b` gives no references at all.
</details>

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

Successfully merging a pull request may close this issue.

2 participants