LLVM: llvm::UndefVarError Class Reference (original) (raw)

Class to represent an undefined variable error, which quotes that variable's name when printed. More...

#include "[FileCheck/FileCheckImpl.h](FileCheckImpl%5F8h%5Fsource.html)"

Public Member Functions
UndefVarError (StringRef VarName)
StringRef getVarName () const
std::error_code convertToErrorCode () const override
Convert this error to a std::error_code.
void log (raw_ostream &OS) const override
Print name of variable associated with this error.
Public Member Functions inherited from llvm::ErrorInfo< UndefVarError >
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.
template
bool isA () const

Class to represent an undefined variable error, which quotes that variable's name when printed.

Definition at line 173 of file FileCheckImpl.h.

llvm::UndefVarError::UndefVarError ( StringRef VarName) inline

convertToErrorCode()

std::error_code llvm::UndefVarError::convertToErrorCode ( ) const inlineoverridevirtual

getVarName()

StringRef llvm::UndefVarError::getVarName ( ) const inline

log()

void llvm::UndefVarError::log ( raw_ostream & OS) const inlineoverridevirtual

ID

char UndefVarError::ID = 0 static

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