================
@@ -3630,6 +3630,31 @@ TEST_F(AlignmentTest, ContinuedAligned) {
                Style);
 }
 
+TEST_F(AlignmentTest, ContinuedAlignedForIndentation) {
+  FormatStyle Style = getLLVMStyleWithColumns(30);
+  Style.UseTab = FormatStyle::UT_ForIndentation;
+  Style.TabWidth = Style.IndentWidth = 4;
+
+  verifyFormat("void f() {\n"
+               "\tabcdef =\n"
+               "\t    foo(111111, 222222,\n"
+               "\t        333333);\n"
+               "}",
+               Style);
+}
+
+TEST_F(AlignmentTest, InlineBracedListForIndentation) {
----------------
Lane0218 wrote:

I checked that `InlineBracedListForIndentation` already passes without this 
fix. What regression is it intended to guard against? If it does not cover a 
separate case, could it be removed?

https://github.com/llvm/llvm-project/pull/235553
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to