Commit Graph

2 Commits

Author SHA1 Message Date
Zach Panzarino e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Jordan Rose 60c3154d95 Add swift::moveFileIfDifferent.
Equivalent to llvm::sys::fs::rename, except that if the destination file
exists and has the same contents as the source file, the source file is
simply deleted and the destination file is not touched.

Used in next commit.

Swift SVN r28041
2015-05-01 17:40:28 +00:00