LLVM: llvm::coverage::CoverageMapError Class Reference (original) (raw)

#include "[llvm/ProfileData/Coverage/CoverageMapping.h](CoverageMapping%5F8h%5Fsource.html)"

Public Member Functions
CoverageMapError (coveragemap_error Err, const Twine &ErrStr=Twine())
std::string message () const override
Return the error message as a string.
void log (raw_ostream &OS) const override
Print an error message to an output stream.
std::error_code convertToErrorCode () const override
Convert this error to a std::error_code.
coveragemap_error get () const
const std::string & getMessage () const
Public Member Functions inherited from llvm::ErrorInfo< CoverageMapError >
const void * dynamicClassID () const override
bool isA (const void *const ClassID) const override
Public Member Functions inherited from llvm::ErrorInfoBase
virtual ~ErrorInfoBase ()=default
template
bool isA () const
Static Public Attributes
static char ID = 0

Definition at line 81 of file CoverageMapping.h.

convertToErrorCode()

std::error_code llvm::coverage::CoverageMapError::convertToErrorCode ( ) const inlineoverridevirtual

Convert this error to a std::error_code.

This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future.

Implements llvm::ErrorInfoBase.

Definition at line 92 of file CoverageMapping.h.

get()

getMessage()

const std::string & llvm::coverage::CoverageMapError::getMessage ( ) const inline

log()

void llvm::coverage::CoverageMapError::log ( raw_ostream & OS) const inlineoverridevirtual

message()

std::string CoverageMapError::message ( ) const overridevirtual

ID

char CoverageMapError::ID = 0 static

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