[PATCH] D42298: [clang-format] Fix shortening blocks in macros causing merged next line

Benjamin Kramer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 06:43:53 PST 2018

bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.


Comment at: lib/Format/UnwrappedLineFormatter.cpp:310
+        MergedLines = tryMergeSimpleBlock(I - 1, E, Limit);
+        // If we managed to merge the block, discard the first  merged line
+        // since we are merging starting from I.
double space in comment

  rC Clang


More information about the cfe-commits mailing list