[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
Thu May 27 11:51:49 PDT 2021


feg208 marked 3 inline comments as done.
feg208 added a comment.

I picked up most of these. One of the tests is already covered (I think) maybe I am misunderstanding



================
Comment at: clang/unittests/Format/FormatTest.cpp:16478
+               "    {56, /* a comment */ 23, \"hello\" },\n"
+               "    {-1,              93463, \"world\" },\n"
+               "    { 7,                  5,    \"!!\" }\n"
----------------
HazardyKnusperkeks wrote:
> Or at the line end?
I have this check up on lines 16384-16397


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