[PATCH] D101868: [clang-format] Adds a formatter for aligning arrays of structs

Fred Grim via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 8 06:35:40 PDT 2021


feg208 added a comment.

In D101868#2805180 <https://reviews.llvm.org/D101868#2805180>, @MyDeveloperDay wrote:

> Better still how about having
>
>   ArraryMemberAligmentEnum AlignArrayOfStructures
>
> of "None, Left and Right"
>
> I find boolean options don't stay boolean for long!

Yeah once I started doing the work this is exactly the path I am going down. Save the name. I should have it rolled up shortly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101868/new/

https://reviews.llvm.org/D101868



More information about the cfe-commits mailing list