<div class="gmail_quote">On Tue, Oct 12, 2010 at 10:31 AM, Francois Pichet <span dir="ltr"><<a href="mailto:pichet2000@gmail.com">pichet2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is there any rule regarding new-line in LLVM?<br>
<br>
I didn't see any in the coding standard and I notice that there is no<br>
consistency at all across llvm/clang. Some files use \n while some use<br>
\r\n<br>
<br>
So i thought it doesn't matter.<br></blockquote><div><br></div><div>For text files, Subversion should be mapping line endings to the platform-native versions when syncing and committing from various platforms. I think one of the Windows clients is failing to properly do this, but I don't have a test or anything to demonstrate it.</div>
<div><br></div><div>The result is that our (Google's) lit-like test runner gets confused by non-platform-correct line endings. We just fix them when we notice it. They should still show up as CRLF line endings on a windows machine when you run 'svn sync' (or equivalent for your client software).</div>
<div><br></div><div>If I get some free time I make teach our test runner to not care, but ideally I'd fix the clients that aren't correctly handling eol-native SVN properties...</div></div>