Closed akh2008 closed 3 months ago
Sorry about the super long turnaround time. I can't reproduce this. Both on mac and linux both follow location, find references and all other commands I checked works against that location (src/ClangIndexer.cpp:998:20: in current master).
It's possible it has been fixed since the bug was reported. Which libclang version are you using? Can you still reproduce this problem?
Describe the bug rtags not indexing the complete function and i can not see the symbol info for a part of function. This leads to various commands not working i.e jump to definition, references, symbol info etc.
To Reproduce Steps to reproduce the behavior:
Expected behavior functions should be indexed and all expected symbols should be available.
Screenshots/Backtrace The following piece of code does not index in given function. This is one example from rtags repo itself.
File: src/ClangIndexer.cpp Function: bool ClangIndexer::superclassTemplateMemberFunctionUgleHack(const CXCursor &cursor, CXCursorKind kind, Location location, const CXCursor &/ref/, Symbol **cursorPtr)
----> Here cursor on handleReference() do not jump to definition(no commands works like references, symbol info etc) and also no output for rc command (rc --absolute-path -f src/ClangIndexer.cpp:991:24 and similar)
--> dump of file map shows no content for above mentioned code lines. From 987 to 1004, there is no database for any symbols.
Environment (please complete the following information):