[PATCH] D15147: [clang-format] Reflow block comments when they're over the column limit

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 05:09:52 PST 2015


klimek added inline comments.

================
Comment at: lib/Format/BreakableToken.cpp:443
@@ -439,2 +442,3 @@
   }
 
+  const StringRef Line = Lines[LineIndex];
----------------
For posterity, from in-person chat:
Currently, this does the same as before when we're in DryRun mode, and only wraps when we apply the changes. Instead, we'll need to make this work with the DryRun mode for optimization.


http://reviews.llvm.org/D15147





More information about the cfe-commits mailing list