patch to preserve carriage returns when using clang-format VS plugin
djasper at google.com
Wed Nov 27 14:24:31 PST 2013
I'd like Manuel to take a look, but in general, please format Clang/LLVM
files with the correct style (i.e. "clang-format -style LLVM") :-).
On Wed, Nov 27, 2013 at 11:28 AM, jpark37 . <jpark37 at gmail.com> wrote:
> Hello there,
> I'm seeing newlines without carriage returns when using the clang-format
> plugin for Visual Studio. The issue seems to be that clang-format is not
> escaping newline characters when run with -output-replacements-xml, so the
> .NET XML stuff ends up collapsing \r\n down to \n. I've attached a patch
> that I've tested and appears to address the problem.
> - James
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits