class ToolOutputFile::CleanupInstaller

Declaration

class ToolOutputFile::CleanupInstaller { /* full declaration omitted */ };

Description

This class is declared before the raw_fd_ostream so that it is constructed before the raw_fd_ostream is constructed and destructed after the raw_fd_ostream is destructed. It installs cleanups in its constructor and uninstalls them in its destructor.

Declared at: llvm/include/llvm/Support/ToolOutputFile.h:30

Member Variables

public bool Keep
The flag which indicates whether we should not delete the file.

Method Overview

Methods

CleanupInstaller(llvm::StringRef Filename)

Declared at: llvm/include/llvm/Support/ToolOutputFile.h:37

Parameters

llvm::StringRef Filename

~CleanupInstaller()

Declared at: llvm/include/llvm/Support/ToolOutputFile.h:38