We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AllowShortIfStatementsOnASingleLine: Always doesn't behave properly with else, else if and else if constexpr clauses.
https://godbolt.org/z/oxYTcxere
The text was updated successfully, but these errors were encountered:
assigned to @mkurdej
Sorry, something went wrong.
Tentative fix: https://reviews.llvm.org/D100727.
Fixed in https://reviews.llvm.org/rG8d93d7ffedebc5f18dee22ba954d38a1d2d0affa. You'd need to use AllowShortIfStatementsOnASingleLine: AllIfsAndElse because AllowShortIfStatementsOnASingleLine: Always has kept the old behaviour not to break the backwards compatibility.
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortIfStatementsOnASingleLine: Always
mkurdej
No branches or pull requests
Extended Description
AllowShortIfStatementsOnASingleLine: Always
doesn't behave properly with else, else if and else if constexpr clauses.
https://godbolt.org/z/oxYTcxere
The text was updated successfully, but these errors were encountered: