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

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 9 00:43:34 PDT 2021


curdeius added inline comments.


================
Comment at: clang/docs/ClangFormatStyleOptions.rst:216-221
+    struct test demo[] =
+    {
+        {56,    23, "hello"},
+        {-1, 93463, "world"},
+        { 7,     5,    "!!"}
+    };
----------------
Don't forget to re-generate .rst.


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