-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Clang crashes on lambda forwarding in template with LocalInstantiationScope::findInstantiationOf assertion since clang 17 with -std=c++20 #139940
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
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash
Prefer [crash-on-valid] or [crash-on-invalid]
lambda
C++11 lambda expressions
Comments
@llvm/issue-subscribers-clang-frontend Author: None (mariete1223)
The following code causes Clang to crash with an assertion failure during template instantiation.
Assertion
Stack dump
Program
To reproduce: |
This will at some point be fixed by #107942 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash
Prefer [crash-on-valid] or [crash-on-invalid]
lambda
C++11 lambda expressions
The following code causes Clang to crash with an assertion failure during template instantiation.
Assertion
Stack dump
Program
To reproduce:
https://godbolt.org/z/ozx3arr5o
The text was updated successfully, but these errors were encountered: