summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-09-02 17:34:17 +0000
committerRui Ueyama <ruiu@google.com>2016-09-02 17:34:17 +0000
commitfa12b8bd1a8ddb82c7337f9a9a7b5acf193a239b (patch)
tree215b56c16da059e2f01491fedfe972655c4c358b /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
parent31b88cb030fab7b35720c78798e7efff1596187a (diff)
downloadbcm5719-llvm-fa12b8bd1a8ddb82c7337f9a9a7b5acf193a239b.tar.gz
bcm5719-llvm-fa12b8bd1a8ddb82c7337f9a9a7b5acf193a239b.zip
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 llvm-svn: 280510
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud