-
Notifications
You must be signed in to change notification settings - Fork 12k
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
clang 18.1 parser crash #91536
Comments
@llvm/issue-subscribers-clang-frontend Author: None (drzdv)
Godbolt link: https://godbolt.org/z/obG6EThzd
```cpp
decltype([]()->decltype(this){})
```
Produces following output:
> PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. |
Confirmed, I added clang trunk assertions result b/c assertions often failure earlier and closer to the problem and frequently give us more clues to solving the issue. |
…3490) Skip explicit this check in non-valid scopes due to `null` type in lambdas with invalid captures or incomplete parameter lists during parsing Fixes llvm#91536
Godbolt link: https://godbolt.org/z/obG6EThzd
clang trunk W/ assertions: https://godbolt.org/z/aWKnWh5co
Produces following output:
Assertion:
Backtrace:
The text was updated successfully, but these errors were encountered: