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-format 15 crashes with AllowShortFunctionsOnASingleLine: Inline
#54147
Labels
bug
Indicates an unexpected problem or unintended behavior
clang-format
crash
Prefer [crash-on-valid] or [crash-on-invalid]
Comments
I guess this is an easier way to reproduce:
|
@llvm/issue-subscribers-clang-format |
carlosgalvezp
added
the
bug
Indicates an unexpected problem or unintended behavior
label
Mar 2, 2022
@llvm/issue-subscribers-bug |
mkurdej
added
crash
Prefer [crash-on-valid] or [crash-on-invalid]
and removed
new issue
labels
Mar 2, 2022
Reduced a bit more to:
and config:
|
There's a failing assertion:
|
Revision URI: https://reviews.llvm.org/D120902 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
clang-format
crash
Prefer [crash-on-valid] or [crash-on-invalid]
When trying to bump our clang-format version we hit a crash in one of our files.
Reproduced on
clang-format
version:I reduced it to this, last
return
is not needed but makestmp2
"used":which formats fine with the Google based config, but changing the following breaks it:
Stacktrace:
Let me know if you need anything else.
The text was updated successfully, but these errors were encountered: