LLVM 22.0.0git
llvm::CleanupInstaller Class Reference

#include "llvm/Support/ToolOutputFile.h"

Public Member Functions

StringRef getFilename ()
LLVM_ABI CleanupInstaller (StringRef Filename)
LLVM_ABI ~CleanupInstaller ()

Public Attributes

std::string Filename
 The name of the file.
bool Keep
 The flag which indicates whether we should not delete the file.

Detailed Description

Definition at line 22 of file ToolOutputFile.h.

Constructor & Destructor Documentation

◆ CleanupInstaller()

CleanupInstaller::CleanupInstaller ( StringRef Filename)
explicit

Definition at line 20 of file ToolOutputFile.cpp.

References Filename, isStdout(), Keep, and llvm::sys::RemoveFileOnSignal().

◆ ~CleanupInstaller()

CleanupInstaller::~CleanupInstaller ( )

Member Function Documentation

◆ getFilename()

StringRef llvm::CleanupInstaller::getFilename ( )
inline

Definition at line 30 of file ToolOutputFile.h.

References Filename.

Member Data Documentation

◆ Filename

std::string llvm::CleanupInstaller::Filename

The name of the file.

Definition at line 25 of file ToolOutputFile.h.

Referenced by CleanupInstaller(), getFilename(), and ~CleanupInstaller().

◆ Keep

bool llvm::CleanupInstaller::Keep

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

Definition at line 28 of file ToolOutputFile.h.

Referenced by CleanupInstaller(), and ~CleanupInstaller().


The documentation for this class was generated from the following files: