diff options
author | Rui Ueyama <ruiu@google.com> | 2017-03-13 22:19:05 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-03-13 22:19:05 +0000 |
commit | fed8b570b7c50f1c36e4252dac60fe4a12f64045 (patch) | |
tree | 6d3613bae9261126c26dea0dbe5309d714046843 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 784f241b59ebe005fbfeb3f1adb42c7d423ae166 (diff) | |
download | bcm5719-llvm-fed8b570b7c50f1c36e4252dac60fe4a12f64045.tar.gz bcm5719-llvm-fed8b570b7c50f1c36e4252dac60fe4a12f64045.zip |
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
llvm-svn: 297679
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions