[PATCH] D139029: [clang-format] Don't move comments if AlignTrailingComments: Kind: Leave

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 1 14:24:48 PST 2022


owenpan accepted this revision.
owenpan added a comment.

Please mark comments as done if you have addressed them.



================
Comment at: clang/unittests/Format/FormatTestComments.cpp:3071
+            "\n"
+            "// comment\n",
+            format("// do not touch\n"
----------------



================
Comment at: clang/unittests/Format/FormatTestComments.cpp:3078
+                   "\n"
+                   "// comment\n",
+                   Style));
----------------



================
Comment at: clang/unittests/Format/FormatTestComments.cpp:3087
+            "\n"
+            "// comment\n",
+            format("// do not touch\n"
----------------



================
Comment at: clang/unittests/Format/FormatTestComments.cpp:3096
+                   "\n"
+                   "// comment\n",
+                   Style));
----------------



================
Comment at: clang/unittests/Format/FormatTestComments.cpp:3108
+            "\n"
+            "// comment\n",
+            format("// do not touch\n"
----------------



================
Comment at: clang/unittests/Format/FormatTestComments.cpp:3116
+                   "\n"
+                   "// comment\n",
+                   Style));
----------------



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139029/new/

https://reviews.llvm.org/D139029



More information about the cfe-commits mailing list