[PATCH] D119599: [clang-format] Add option to align compound assignments like `+=`
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 22 11:24:59 PST 2022
HazardyKnusperkeks added a comment.
In D119599#3336936 <https://reviews.llvm.org/D119599#3336936>, @curdeius wrote:
> Nice job! Please let us a bit of time to review that.
> Also, I think it would be good to get a reviewer that knows well the yaml parts. Or even split it to a separate revision.
> And this part needs tests too.
Yeah really thanks for doing this. But please split it up.
================
Comment at: clang/lib/Format/Format.cpp:1161
+ LLVMStyle.AlignConsecutiveAssignments = {
+ /*.Enabled=*/false, /*.AcrossEmptyLines=*/false,
+ /*.AcrossComments=*/false, /*.AlignCompound=*/false,
----------------
Without the .
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119599/new/
https://reviews.llvm.org/D119599
More information about the cfe-commits
mailing list