[PATCH] Calculate and store ColumnWidth instead of CodePointCount in FormatTokens.
Alexander Kornienko
alexfh at google.com
Mon Sep 9 12:30:26 PDT 2013
Store IsMultiline as a separate bool. Fixed a bug in TokenAnnotator::calculateFormattingInformation (and removed an extra check for multiline tokens from tryFitMultipleLinesInOne.
Hi klimek, djasper,
http://llvm-reviews.chandlerc.com/D1608
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D1608?vs=4112&id=4142#toc
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.4.patch
Type: text/x-patch
Size: 18569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130909/5abf5cab/attachment.bin>
More information about the cfe-commits
mailing list