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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 8 04:17:54 PDT 2021


MyDeveloperDay added a comment.

In D101868#2803670 <https://reviews.llvm.org/D101868#2803670>, @feg208 wrote:

> Ok. Given @HazardyKnusperkeks comment I'll make the default be left alignment and update the tests accordingly

You could add `AlignArrayOfStructuresMemberAlignment`   `Left:Right` you have the code to right align, your about to change it to left align, seems like you've done all the work.


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