[clang] [clang-format] Fix regression with BlockIndent of Braced Initializers (PR #108717)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 21 22:08:44 PDT 2024


================
@@ -9336,6 +9336,9 @@ TEST_F(FormatTest, AlignsAfterOpenBracket) {
                "    ccccccc(aaaaaaaaaaaaaaaaa,         //\n"
                "        b));",
                Style);
+  verifyFormat("aaaaaaa<bbbbbbbb> const aaaaaaaaaa{\n"
+               "    aaaaaaaaaaaaa(aaaaaaaaaaa, aaaaaaaaaaaaaaaa)};",
+               Style);
----------------
owenca wrote:

This test seems irrelevant and IMO ought to be deleted.

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


More information about the cfe-commits mailing list