You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Index the rtags repo with rc -J <compile_command dir>
Some part do not work for rc commands given below.
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.
case1:
// ### not sure this is correct with line/colreturnhandleReference(cursor, kind,
Location(location.fileId(), location.line(), location.column() +1),
alternatives.front(), cursorPtr);
break;
case0:
break;
default:
warning() << "Can't decide which of these symbols are right for me"
<< cursor << alternatives
<< "Need to parse types";
break;
}
}
----> 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.
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):
The text was updated successfully, but these errors were encountered: