[all-commits] [llvm/llvm-project] 2fc2ee: [clang-format] Fix poor spacing in `AlignArrayOfSt...
XDeme via All-commits
all-commits at lists.llvm.org
Sat Jan 20 13:34:49 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2fc2ee136c0183f40af4c0e7a8d27092b8ce3415
https://github.com/llvm/llvm-project/commit/2fc2ee136c0183f40af4c0e7a8d27092b8ce3415
Author: XDeme <66138117+XDeme at users.noreply.github.com>
Date: 2024-01-20 (Sat, 20 Jan 2024)
Changed paths:
M clang/lib/Format/WhitespaceManager.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix poor spacing in `AlignArrayOfStructures: Left` (#77868)
Fixes llvm/llvm-project#62904
`AlignArrayOfStructures: Left` combined with `SpacesInParentheses: true`
causes the first cell of every row to have 1 additional space.
We were only setting the first cell of the first row to be against the
left brace, now every row will be against the left brace.
More information about the All-commits
mailing list