During source manager test, write back the file using binary mode.
On Windows, opening with "w" opens it as text instead of binary. This causes translation of newline characters, so that "\n" turns into "\r\n", which in turn leads to git detecting that the file has changed and wanting to commit it. llvm-svn: 226220
Loading
Please sign in to comment