llvm-project
llvm-project copied to clipboard
[clangd][feature request] call hierarchy on data members
We are trying to establish clangd in our company, but we get a lot of feedback from developers that they change back to the eclipse indexer, because of clangd's inability to show a call hierarchy on data members. As a simple example for the behaviour, consider the following simple class:
class C
{
void f()
{
number = 0;
}
int number = 0;
};
Now if I request a call hierarchy on the variable "number" I want it to show "f()" as caller.
@llvm/issue-subscribers-clangd
Author: None (timon-ul)
We are trying to establish clangd in our company, but we get a lot of feedback from developers that they change back to the eclipse indexer, because of clangd's inability to show a call hierarchy on data members.
As a simple example for the behaviour, consider the following simple class:
```
class C
{
void f()
{
number = 0;
}
int number = 0; };
Now if I request a call hierarchy on the variable "number" I want it to show "f()" as caller.
</details>
Duplicate of https://github.com/clangd/clangd/issues/1308