clang-format: fix erroneous replacement in lines entirely made of spaces inside C style comments with \r\n end of line

Daniel Jasper djasper at google.com
Wed Jun 17 05:27:45 PDT 2015


Submitted modified version as r239900. Thanks!

On Tue, Jun 16, 2015 at 7:03 AM, Mathieu Champlon <m.champlon at free.fr>
wrote:

> Hi,
>
> Attached patch adds a test and a fix for clang-format.
> The formatting works as expected but replacements get generated every time
> which needlessly touch files when formatting code.
>
> I hope the patch is fine, I created it with git...
>
> Thanks,
> MAT.
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150617/9eb92f50/attachment.html>


More information about the cfe-commits mailing list