On Tue, Oct 12, 2010 at 10:31 AM, Francois Pichet <[email protected]>wrote:

> Is there any rule regarding new-line in LLVM?
>
> I didn't see any in the coding standard and I notice that there is no
> consistency at all across llvm/clang. Some files use \n while some use
> \r\n
>
> So i thought it doesn't matter.
>

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.

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).

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...
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to