-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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 crashes while parsing C++ header file #114955
Comments
@llvm/issue-subscribers-clangd Author: Sébastien BINI (SebastienBini)
Clangd crashes while reading a header file containing templates and require clauses. Here are the provided logs:
And the version:
And here is a snippet of the file near line 238 (template member function definition of a template class):
with The code compiles fine with g++. But clang++ crashes when it has to read this file, with the same stack as clangd. Thank you! |
Could you please try 19 or |
The file compiles with version 19.1.1 |
Only most recent release is maintained. |
I guess the issue can be closed then. |
Clangd crashes while reading a header file containing templates and require clauses. Here are the provided logs:
And the version:
And here is a snippet of the file near line 238 (template member function definition of a template class):
with
#define XXX_REQUIRES(...) requires __VA_ARGS__
The code compiles fine with g++. But clang++ crashes when it has to read this file, with the same stack as clangd.
Thank you!
The text was updated successfully, but these errors were encountered: