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
Related to #52772.
Given:
BasedOnStyle: LLVM AlignConsecutiveAssignments: Consecutive ColumnLimit: 50 # just for the ease of reproduce
The code:
auto b = f(aaaaaaaaaaaaaaaaaaaaaaaaa, ccc ? aaaaa : bbbbb, dddddddddddddddddddddddddd);
is formatted correctly.
However, this one, with alignment on the assignment:
auto aaaaaaaaaaaa = f(); auto b = f(aaaaaaaaaaaaaaaaaaaaaaaaa, ccc ? aaaaa : bbbbb, dddddddddddddddddddddddddd);
has its last line being aligned with the opening parenthesis.
Expected formatting (not sure about the indentation of the last two lines though):
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-format
Sorry, something went wrong.
@llvm/issue-subscribers-bug
No branches or pull requests
Related to #52772.
Given:
The code:
is formatted correctly.
However, this one, with alignment on the assignment:
has its last line being aligned with the opening parenthesis.
Expected formatting (not sure about the indentation of the last two lines though):
The text was updated successfully, but these errors were encountered: