[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
================
@@ -9395,6 +9398,9 @@ TEST_F(FormatTest, AlignsAfterOpenBracket) {
"fooooooooooo(new FOO::BARRRR(\n"
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXZZZZZZZZZZZZZZZZZZZZZZZZZ()));",
Style);
+ verifyFormat("aaaaaaa<bbbbbbbb> const aaaaaaaaaa{\n"
+ " aaaaaaaaaaaaa(aaaaaaaaaaa, aaaaaaaaaaaaaaaa)};",
+ Style);
----------------
owenca wrote:
Ditto.
https://github.com/llvm/llvm-project/pull/108717
More information about the cfe-commits
mailing list