[PATCH] Calculate and store ColumnWidth instead of CodePointCount in FormatTokens.

Alexander Kornienko alexfh at google.com
Thu Sep 5 09:01:48 PDT 2013


Hi klimek, djasper,

This fixes various issues with mixed tabs and spaces handling, e.g.
when realigning block comments.

http://llvm-reviews.chandlerc.com/D1608

Files:
  lib/Format/BreakableToken.cpp
  lib/Format/ContinuationIndenter.cpp
  lib/Format/Format.cpp
  lib/Format/FormatToken.cpp
  lib/Format/FormatToken.h
  lib/Format/TokenAnnotator.cpp
  unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1608.1.patch
Type: text/x-patch
Size: 15454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130905/3a27ea5b/attachment.bin>


More information about the cfe-commits mailing list