llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[clangd][feature request] call hierarchy on data members

Open timon-ul opened this issue 2 years ago • 2 comments

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.

timon-ul avatar Jul 05 '24 13:07 timon-ul

@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>

llvmbot avatar Jul 05 '24 14:07 llvmbot

Duplicate of https://github.com/clangd/clangd/issues/1308

HighCommander4 avatar Jul 08 '24 04:07 HighCommander4