Manages cleanup of a temporary tool output file.
Declared in <llvm/Support/ToolOutputFile.h>
class CleanupInstaller;
Registers a signal handler so the file is deleted if the process is killed, and deletes the file in its destructor unless Keep is set.
| Name | Description |
|---|---|
CleanupInstaller [constructor] | Construct a cleanup installer for Filename. |
~CleanupInstaller [destructor] | Destroy the installer, deleting the file unless Keep is set. |
getFilename | Return the name of the file being cleaned up. |
| Name | Description |
|---|---|
Filename | The name of the file. |
Keep | The flag which indicates whether we should not delete the file. |