[clang] [clang-format] Don't align comments over scopes (PR #68743)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 16 03:33:11 PDT 2023


================
@@ -20794,7 +20794,7 @@ TEST_F(FormatTest, CatchAlignArrayOfStructuresRightAlignment) {
   verifyFormat("int a[][] = {\n"
                "    {\n"
                "     {0, 2}, //\n"
-               " {1, 2}  //\n"
+               " {1, 2} //\n"
----------------
owenca wrote:

We don't need to change the test case with https://github.com/llvm/llvm-project/pull/68743#discussion_r1360437969.

https://github.com/llvm/llvm-project/pull/68743


More information about the cfe-commits mailing list