This is an archive of the discontinued LLVM Phabricator instance.

Make FileOutputBuffer fail early if you pass a directory.
ClosedPublic

Authored by ruiu on Mar 13 2017, 2:50 PM.

Details

Summary

Previously, it created a temporary directory and then fail when
FileOutputBuffer renames that file to the destination file (which is
actually a directory name).

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Mar 13 2017, 2:50 PM
This revision was automatically updated to reflect the committed changes.