Open chenhao94 opened 2 years ago
If the variable is pushed further to align another variable, the items will also indent more, which is not an expected bahavior.
$ clang-format-14 -style="{AlignConsecutiveAssignments: AcrossComments}" 1.cc int main() { using aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = int; aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa i = 1; std::vector<int> a = { 1, 2, 4, 8, }; return 0; }
It is not reproducible on either clang-format-13 or 15(git).
@llvm/issue-subscribers-clang-format
If the variable is pushed further to align another variable, the items will also indent more, which is not an expected bahavior.
It is not reproducible on either clang-format-13 or 15(git).