================
@@ -2297,7 +2284,7 @@ TEST_F(FormatTestJS, WrapAfterParen) {
                "    });",
                getGoogleJSStyleWithColumns(40));
   verifyFormat("while (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa &&\n"
-               "       bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) {\n}");
+               "       bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) {}");
----------------
gedare wrote:

That is a separate issue. The problem here is that the change compacts the 
empty block, but the loop is not on a single line.

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

Reply via email to