================ @@ -19056,6 +19056,9 @@ TEST_F(FormatTest, AlignConsecutiveDeclarations) { verifyFormat("int a(int x);\n" "double b();", Alignment); + verifyFormat("int a(const Test & = Test());\n" ---------------- HazardyKnusperkeks wrote:
I'd like to see something like ``` c++ int foo(someType & whatever, differentType & foo, Test & = Test()); ``` Maybe in some other variants, I want to see the alignment of the arguments. https://github.com/llvm/llvm-project/pull/86254 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits