[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.

lgtm



================
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


Repository:
  rC Clang

https://reviews.llvm.org/D42298





More information about the cfe-commits mailing list