[PATCH] D20208: clang-format: [JS] fix template string width counting.

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 10:23:44 PDT 2016


mprobst updated this revision to Diff 57066.
mprobst added a comment.

- simplify logic by parsing forward, reduce complexity to O(n) from O(n^2)


http://reviews.llvm.org/D20208

Files:
  lib/Format/Format.cpp
  unittests/Format/FormatTestJS.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20208.57066.patch
Type: text/x-patch
Size: 7694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160512/1810afb8/attachment.bin>


More information about the cfe-commits mailing list