[clang] [clang-format] Allow array alignment on non-rectangular arrays (PR #143781)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 12 01:51:19 PDT 2025


================
@@ -22276,7 +22276,7 @@ TEST_F(FormatTest, CatchAlignArrayOfStructuresLeftAlignment) {
   verifyFormat("auto foo = Items{\n"
                "    Section{\n"
                "            0, bar(),\n"
-               "            }\n"
+               "    }\n"
----------------
HazardyKnusperkeks wrote:

I'd say this is fine.

https://github.com/llvm/llvm-project/pull/143781


More information about the cfe-commits mailing list