<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/97825>97825</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clangd][feature request] call hierarchy on data members
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
timon-ul
</td>
</tr>
</table>
<pre>
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.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEU8GOozAM_ZpwsaYKBkp74DAzVaW57HXPJhjIbki6iWmnf7-CMrO70kgrISX42c_20wulZAfP3KjqRVWnjGYZQ2zETsE_zS5rQ3dvvjNQZJB4t34ACcBJqHU2jWAc-aED6yHMEUyYLuTvCl-hnQVuDAMLELggEHrombuWzE_oY5ig4yu7cOGYQEYSkJHvYEbyA8OaJWGJARtnL4nB-o7fOa7kbGhOvHA-BlBYJ7CeWuus3JfKNIYbEBhyDkbLkaIZ7xA8dCQEE08tx7QDpU9KPz8nIEh2ujgGfqf17ENc27c80tWGeW1sgk-24wfSB-fCbZFkKzWOUlLF84NU7fX2rb8rCK8bVr88LgDXYDvoFR4UHrfYXyiAn5dRQRUn0Kr4BFR92qi2gPXyde6S-Xn_d6Zv4Qa2hzeI_GvmJF8Ktqx6pWipdQwK8dFEIcIb3MgLWPkUXCF-rIIIlFY6jrusa4ruWBwp4yavUeeH8lDV2diYWnfYlmWRc7VHU-zzQutKl3lbaEQsM9ugxlLXusoLXRf7HfXlvsz7Utf7w6EqO1Vqnsi6nXPXaRfikNmUZm6O9QGrzFHLLq3uRvR8gxVUiIvZY7PUPLXzkFSpnU2S_rCIFbc-i81h1UlVLz2TzJE_9FLV6T8Oy-bomlHksvoCzwrPg5VxbncmTArPS7vteLrE8IONKDyvQyaF58cS1wZ_BwAA__9gAyY2">