================ @@ -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 wanted to see a version where the arguments are aligned, you need a break in the argument list. Either by providing more arguments, or (preferred) by using a reduced `ColumnLimit` for that test. 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