emacs-lsp / emacs-ccls

Emacs client for ccls, a C/C++ language server
200 stars 29 forks source link

ccls-inheritance-hierarchy isn't working correctly #49

Closed cody-addison closed 5 years ago

cody-addison commented 5 years ago

This feature is really useful and works sometimes, but in other cases it isn't able to find derived or base classes. I'm using this project on the llvm-project code base and specifically am looking at the MCStreamer hierarchy. If I look at derived classes for the MCStreamer class, nothing is shown. I'm using the HEAD build for ccls and emacs-ccls on OSX.

There are other classes in the code base where the base hierarchy will work, but the derived doesn't and vice versa.

I'm happy to provide any information or use any tips you have to debug why this wouldn't work.

cody-addison commented 5 years ago

Well, it seems to be working now ...

I deleted the .ccls_cache directory and tried it again after re-indexing. I thought I already did this, but maybe not after updating all components.