-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
[clangd] Crash when completing code #125500
Comments
@llvm/issue-subscribers-clangd Author: HenryAWE (HenryAWE)
I'm using clangd with [this project](https://github.com/HenryAWE/asbind20), and it crash when trying to complete the second argument of [this line](https://github.com/HenryAWE/asbind20/blob/55c3c2284bb60efc57e783f359baf4f7e97a250a/test/test_bind/ref_class.cpp#L110). You can reproduce this error by deleting the second argument (now this line is `.method("void from_var_type(const ?&in)")`), then type a comma (`,`) and trigger the code completion (`.method("void from_var_type(const ?&in)", ^)`, ^ is the position of input cursor).
My clangd version is 19.1.2, installed by the VSCode extension. Stacktrace
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using clangd with this project, and it crash when trying to complete the second argument of this line. You can reproduce this error by deleting the second argument (now this line is
.method("void from_var_type(const ?&in)")
), then type a comma (,
) and trigger the code completion (.method("void from_var_type(const ?&in)", ^)
, ^ is the position of input cursor).My clangd version is 19.1.2, installed by the VSCode extension.
Stacktrace
The text was updated successfully, but these errors were encountered: