LLVM  10.0.0svn
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
llvm::AtomicFileWriteError Class Reference

#include "llvm/Support/FileUtilities.h"

Inheritance diagram for llvm::AtomicFileWriteError:
Inheritance graph
[legend]
Collaboration diagram for llvm::AtomicFileWriteError:
Collaboration graph
[legend]

Public Member Functions

 AtomicFileWriteError (atomic_write_error Error)
 
void log (raw_ostream &OS) const override
 Print an error message to an output stream. More...
 
- Public Member Functions inherited from llvm::ErrorInfo< AtomicFileWriteError >
const void * dynamicClassID () const override
 
bool isA (const void *const ClassID) const override
 
- Public Member Functions inherited from llvm::ErrorInfoBase
virtual ~ErrorInfoBase ()=default
 
virtual std::string message () const
 Return the error message as a string. More...
 
template<typename ErrorInfoT >
bool isA () const
 

Public Attributes

const atomic_write_error Error
 

Static Public Attributes

static char ID
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::ErrorInfo< AtomicFileWriteError >
static const void * classID ()
 
- Static Public Member Functions inherited from llvm::ErrorInfoBase
static const void * classID ()
 

Detailed Description

Definition at line 85 of file FileUtilities.h.

Constructor & Destructor Documentation

◆ AtomicFileWriteError()

llvm::AtomicFileWriteError::AtomicFileWriteError ( atomic_write_error  Error)
inline

Definition at line 87 of file FileUtilities.h.

Member Function Documentation

◆ log()

void llvm::AtomicFileWriteError::log ( raw_ostream OS) const
overridevirtual

Print an error message to an output stream.

Implements llvm::ErrorInfoBase.

Definition at line 271 of file FileUtilities.cpp.

References llvm::failed_to_create_uniq_file, llvm::failed_to_rename_temp_file, llvm_unreachable, and llvm::output_stream_error.

Member Data Documentation

◆ Error

const atomic_write_error llvm::AtomicFileWriteError::Error

Definition at line 91 of file FileUtilities.h.

◆ ID

char llvm::AtomicFileWriteError::ID
static

Definition at line 92 of file FileUtilities.h.


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