summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-diff/ClangDiff.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-08-04 21:52:00 +0000
committerReid Kleckner <rnk@google.com>2017-08-04 21:52:00 +0000
commitcefb3335823f5d2d45898bd5dc635efb464523ea (patch)
tree24a540892bbb6ea5afe381fd46c69ea99f1becd6 /clang/tools/clang-diff/ClangDiff.cpp
parent7dbb1e179edbb8d7544aab877d100df1feba1c04 (diff)
downloadbcm5719-llvm-cefb3335823f5d2d45898bd5dc635efb464523ea.tar.gz
bcm5719-llvm-cefb3335823f5d2d45898bd5dc635efb464523ea.zip
[Support] Use FILE_SHARE_DELETE to fix RemoveFileOnSignal on Windows
Summary: Tools like clang that use RemoveFileOnSignal on their output files weren't actually able to clean up their outputs before this change. Now the call to llvm::sys::fs::remove succeeds and the temporary file is deleted. This is a stop-gap to fix clang before implementing the solution outlined in PR34070. Reviewers: davide Subscribers: llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D36337 llvm-svn: 310137
Diffstat (limited to 'clang/tools/clang-diff/ClangDiff.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud