HazardyKnusperkeks added inline comments.
================
Comment at: clang/lib/Format/WhitespaceManager.cpp:950-952
+ if (RestoredLineLength >= Style.ColumnLimit && Style.ColumnLimit != 0) {
+ break;
+ }
----------------
Elide the braces.
================
Comment at: clang/unittests/Format/FormatTestComments.cpp:3045
+ Style.AlignTrailingComments.Kind = FormatStyle::TCAS_Leave;
+ EXPECT_EQ("int a;// do not touch\n"
+ "int b; // any comments\n"
----------------
Can you do that in reverse order (more spaces at top) also?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132131/new/
https://reviews.llvm.org/D132131
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits