<div dir="ltr"><div>Oops, sorry; the attached patch is updated and retested. I ran clang-format, and it created more diffs than just my changes; those have been undone to keep the patch focused. I've also switched the cascading if to a switch statement.<br>
<br></div><div>- James<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 27, 2013 at 5:24 PM, Daniel Jasper <span dir="ltr"><<a href="mailto:djasper@google.com" target="_blank">djasper@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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") :-).</div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Wed, Nov 27, 2013 at 11:28 AM, jpark37 . <span dir="ltr"><<a href="mailto:jpark37@gmail.com" target="_blank">jpark37@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr">Hello there,<br><br>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.<br>


<br>- James<br></div>
<br></div></div>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>