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

Alexander Kornienko alexfh at google.com
Fri Sep 6 02:57:01 PDT 2013



================
Comment at: lib/Format/FormatToken.h:119
@@ +118,3 @@
+  /// original code. Calculated only for block comments.
+  unsigned OriginalStartColumn;
+
----------------
Manuel Klimek wrote:
> Any reason not to use OriginalColumn?
Ah, I didn't notice this field. I've updated the patch to use it.


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



More information about the cfe-commits mailing list