commit | 83a7dcdf5fce1bdf74ce985419d77a41a51abfa2 | [log] [tgz] |
---|---|---|
author | Alexander Kornienko <alexfh@google.com> | Tue Sep 10 09:38:25 2013 +0000 |
committer | Alexander Kornienko <alexfh@google.com> | Tue Sep 10 09:38:25 2013 +0000 |
tree | 4247d1859bca0c2aae0a14ca4491d32b880fe5d2 | |
parent | 3f46e6f45907b7004e2c8dfec1a84877d6d262d6 [diff] |
Calculate and store ColumnWidth instead of CodePointCount in FormatTokens. Summary: This fixes various issues with mixed tabs and spaces handling, e.g. when realigning block comments. Reviewers: klimek, djasper Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1608 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190395 91177308-0d34-0410-b5e6-96231b3b80d8