diff options
author | Rui Ueyama <ruiu@google.com> | 2016-09-02 17:34:17 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-09-02 17:34:17 +0000 |
commit | bb8bc747f8152a7e924f74f49430d6c55f79f0ec (patch) | |
tree | b3d0d640486c5503ebff11e017a10a0a55aa1865 /parallel-libs | |
parent | 87955ab241fa001c96fdf90f371868c700b07d0f (diff) |
Remove temoprary files.
Previously, we created temporary files using llvm::sys::fs::createTemporaryFile
and removed them using llvm::FileRemover. This is error-prone as it is easy to
forget creating FileRemover instances after creating temporary files.
There is actually a temporary file leak bug.
This patch introduces a new class, TemporaryFile, to manage temporary files
in the RAII style.
Differential Revision: https://reviews.llvm.org/D24176
Diffstat (limited to 'parallel-libs')
0 files changed, 0 insertions, 0 deletions