[PATCH] D28764: [clang-format] Implement comment reflowing (v3)

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 03:22:53 PST 2017


krasimir added inline comments.


================
Comment at: lib/Format/BreakableToken.h:87
   /// space.
   virtual void replaceWhitespace(unsigned LineIndex, unsigned TailOffset,
                                  Split Split,
----------------
By the way, I got confused, this stays because the new triplet of methods replaces the old replaceWhitespace**Before**; this method serves a different purpose during breaking, that is tries to shrink whitespace instead of inserting a break.


https://reviews.llvm.org/D28764





More information about the cfe-commits mailing list