-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call hierarchy points to an empty line #2036
Comments
Asciinema recording: |
I haven't looked into the specifics here, but I've seen issues like this caused by an out of date clangd index. It's worth ruling that out by deleting the project's |
Fair point, I'll let clangd rebuild cache anew and report back. |
I have been testing my call/type hierarchies pull request for YouCompleteMe and while testing on the LLDB codebase I have been greeted by a nasty vim backtrace.
Unfortunately, all attempts at minimizing the source code needed for reproducing the problem failed.
Links to the correct YCM/ycmd pull requests (in case anyone wants to try for whatever reason):
ycm-core/ycmd#1733
ycm-core/YouCompleteMe#4221
Steps to repro:
lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp
I
invoid ABIAArch64::Initialize() {
.Initialize()
.LLDB_PLUGIN_DEFINE(ABIAArch64)
, as expected.lldb_initialize_ABIAArch64
.Method: Initialize - SystemInitializerFull.cpp:32
. That line is empty on current master, which is llvm/llvm-project@31774b6SystemInitializerFull::Initialize()
is defined on line 52.Logs
compile_commands.json
clangd_stderr.log
System information
Output of
clangd --version
:But also seen on macOS.
Editor/LSP plugin:
vim/YouCompleteMe/ycmd
Operating system:
Gentoo Linux, but also seen on macOS.
The text was updated successfully, but these errors were encountered: