标签: c++ operators clang-format
在AlignConsecutiveAssignments: true中设置.clang-format会对齐=,即
AlignConsecutiveAssignments: true
.clang-format
=
int a = 0; int bcd = 0; int ef = 0;
但是是否有类似的设置也可以对齐其他操作符,例如+=,-=,*=,/=等,即
+=
-=
*=
/=
a = 1; bcd += 2; ef -= 3;
?