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:31
Member Variables
- public std::string Filename
- The name of the file.
- public bool Keep
- The flag which indicates whether we should not delete the file.
Method Overview
- public CleanupInstaller(llvm::StringRef Filename)
- public llvm::StringRef getFilename()
- public ~CleanupInstaller()
Methods
¶CleanupInstaller(llvm::StringRef Filename)
CleanupInstaller(llvm::StringRef Filename)
Declared at: llvm/include/llvm/Support/ToolOutputFile.h:40
Parameters
- llvm::StringRef Filename
¶llvm::StringRef getFilename()
llvm::StringRef getFilename()
Declared at: llvm/include/llvm/Support/ToolOutputFile.h:39
¶~CleanupInstaller()
~CleanupInstaller()
Declared at: llvm/include/llvm/Support/ToolOutputFile.h:41