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

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 00:52:42 PST 2016


xazax.hun added inline comments.


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


https://reviews.llvm.org/D27211





More information about the cfe-commits mailing list