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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 21 09:40:07 PDT 2021


MyDeveloperDay added a comment.

This looks like a good start..

All your tests are 3x3 have you considered mixing it up a bit.  i.e. 2x3, what is the impact on 1x5 and 5x1 ?

Also how about nested structs, I'm interested to see what happens

  {56, 23, { "ABC", 35 }}
  {57, 24, { "DEF", 36 }}


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