HazardyKnusperkeks added a comment.

Can you please add a test with more than one newline?



================
Comment at: clang/unittests/Format/FormatTestComments.cpp:3065-3075
+  EXPECT_EQ("// do not touch\n"
+            "int a;  // any comments\n\n"
+            "   // comment\n"
+            "// comment\n\n"
+            "// comment\n",
+            format("// do not touch\n"
+                   "int a;  // any comments\n\n"
----------------
Makes it clearer what is happening here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139029

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to