[PATCH] clang-format: fix for \r\r\n produced in multiline block comments
djasper at google.com
Wed Oct 30 00:40:23 PDT 2013
Submitted as r193678.
On Wed, Oct 30, 2013 at 12:55 AM, Christopher Olsen
<chrisaolsen at gmail.com>wrote:
> In multiline block comments \r\n line endings are replaced with
> \r\r\n. BreakableToken does not consider \r a "blank" character. So,
> internally it breaks lines on \n, leaving a dangling \r, then replaces
> the \n with \r\n resulting in \r\r\n.
> Attached is a fix which simply adds \r to the list of blank characters
> in BreakableToken and includes a test case in SupportsCRLF.
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits