[PATCH] D121069: [clang-format] Minimize the damage caused by AlignArrayOfStructures when working on non square arrays
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 6 07:19:13 PST 2022
HazardyKnusperkeks added a comment.
There should also be a warning or at least note on the option description about the current limitations.
================
Comment at: clang/lib/Format/WhitespaceManager.h:202-203
+
+ // Determine if the array is "Square" i.e. every row has the same number
+ // of columns as the first row
+ bool HasEqualRowLengths() const {
----------------
This should also be adapted.
And a full stop at the end.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121069/new/
https://reviews.llvm.org/D121069
More information about the cfe-commits
mailing list