[PATCH] D40310: Restructure how we break tokens.

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 11:03:29 PST 2017


krasimir added a comment.

Re: "I tried to write a test for this, and convinced myself that while +1 is correct, it is currently impossible to change behavior based on the missing +1.":
In order to have different outcome based on the start column, you could use tabs. Consider the content `"aaa\tb"` with 4 spaces of tabstop. This takes up 5 columns (say, under the column limit) if it starts at column 0, and 8 columns (say, over the column limit) if it starts at column 1.


https://reviews.llvm.org/D40310





More information about the cfe-commits mailing list