[PATCH] D27211: [clang-format] Implement comment reflowing

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 04:00:23 PST 2016


krasimir added inline comments.


================
Comment at: lib/Format/Encoding.h:136
+  }
+  while (Left + 1 < Right) {
+    assert(ComputeWidth(Left) <= Width && "binary search left invariant");
----------------
xazax.hun wrote:
> Was just skimming through this patch. What is the reason to use a hand written algorithm instead of STL?
Thank you! No reason.


https://reviews.llvm.org/D27211





More information about the cfe-commits mailing list