Git Clone on Windows Issues

Dear Clang and LLVM developers:

The git mirror at has revealed an interesting note about getting the clang source on Windows. In particular, clang’s regression suite is sensitive to line endings, and requires that the repositories be checked out to preserve LF line endings. Some git configurations (including the default GitHub for Windows settings) will automatically convert line endings on checkout and checkin. This leads to around 68 to 69 regression suite failures that are not found if one clones the repository in such a way as to maintain LF line endings.

This isn’t noted anywhere, but I think it should be, as this could lead to a great deal of misunderstanding when building Clang with Visual Studio on Windows.