LLVM 22.0.0git
llvm::vfs::TempFileOutputError Class Reference

Error related to a temporary file for an OutputFile. More...

#include "llvm/Support/VirtualOutputError.h"

Inheritance diagram for llvm::vfs::TempFileOutputError:
[legend]

Public Member Functions

StringRef getTempPath () const
void log (raw_ostream &OS) const override
 TempFileOutputError (const Twine &TempPath, const Twine &OutputPath, std::error_code EC)
 TempFileOutputError (const Twine &TempPath, const Twine &OutputPath, OutputErrorCode EV)
Public Member Functions inherited from llvm::ErrorInfo< TempFileOutputError, OutputError >
const void * dynamicClassID () const override
bool isA (const void *const ClassID) const override

Static Public Attributes

static char ID = 0

Additional Inherited Members

Static Public Member Functions inherited from llvm::ErrorInfo< TempFileOutputError, OutputError >
static const void * classID ()

Detailed Description

Error related to a temporary file for an OutputFile.

Derives from OutputError and adds getTempPath().

Definition at line 94 of file VirtualOutputError.h.

Constructor & Destructor Documentation

◆ TempFileOutputError() [1/2]

llvm::vfs::TempFileOutputError::TempFileOutputError ( const Twine & TempPath,
const Twine & OutputPath,
std::error_code EC )
inline

Definition at line 104 of file VirtualOutputError.h.

References TempFileOutputError().

Referenced by TempFileOutputError(), and TempFileOutputError().

◆ TempFileOutputError() [2/2]

llvm::vfs::TempFileOutputError::TempFileOutputError ( const Twine & TempPath,
const Twine & OutputPath,
OutputErrorCode EV )
inline

Definition at line 109 of file VirtualOutputError.h.

References TempFileOutputError().

Member Function Documentation

◆ getTempPath()

StringRef llvm::vfs::TempFileOutputError::getTempPath ( ) const
inline

Definition at line 98 of file VirtualOutputError.h.

Referenced by log().

◆ log()

void TempFileOutputError::log ( raw_ostream & OS) const
override

Definition at line 37 of file VirtualOutputError.cpp.

References getTempPath(), and llvm::vfs::OutputError::log().

Member Data Documentation

◆ ID

char TempFileOutputError::ID = 0
static

Definition at line 102 of file VirtualOutputError.h.


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