[PATCH] D153205: [clang-format] Add new block type ListInit
Gedare Bloom via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 20 09:35:02 PDT 2023
gedare added a comment.
In D153205#4431235 <https://reviews.llvm.org/D153205#4431235>, @HazardyKnusperkeks wrote:
> You add a lot of checks and I honestly can't say if it does not affect other code that is not covered by the tests.
Not much I can do about that. I guess it is worth noting that all the checks I add are predicated on either BK_ListInit or BK_BracedInit. I have reduced the checks to what minimally works to address the Issue. Technically, this has two distinct changes included:
- Allow BlockIndent to work with Braces.
- Allow BlockIndent to work with array/struct initializers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153205/new/
https://reviews.llvm.org/D153205
More information about the cfe-commits
mailing list