emacs-lsp / emacs-ccls

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

ccls not providing completions for class private member functions in class source file #86

Closed ArchNemSyS closed 4 years ago

ArchNemSyS commented 4 years ago

Observed behavior

2020-05-15-175404_1920x1080_scrot

TutorialApp::CreateScene() is not found by ccls in the source file but is happily understood within the header. Their are no errors in the logs and I can see the ccls parsed the file after I made the change.

Project builds and runs correctly both through cmake and make. Private member functions do not appear suitably as completions in their source implementation file. Public member functions do resolve correctly.

Expected behavior

Declaration TutorialApp::CreateScene() should be available in source file

System information

ArchNemSyS commented 4 years ago

NOT A BUG

although it would be nice if this behavior could be overridden