Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make FileOutputBuffer fail early if you pass a directory.
Previously, it created a temporary directory and then failed when FileOutputBuffer tried to rename that file to the destination file (which is actually a directory name). Differential Revision: https://reviews.llvm.org/D30912 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297679 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information