llvm::DiagnosticInfoGeneric

Generic diagnostic carrying a message and optional instruction.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

class DiagnosticInfoGeneric
    : public DiagnosticInfo

Base Classes

NameDescription
DiagnosticInfoAbstract base class for backend diagnostic reporting.

Member Functions

NameDescription
DiagnosticInfoGeneric [constructor]Constructors
getInstruction Return the optional instruction associated with this diagnostic.
getKind Return the kind of this diagnostic.
getMsgStr Return the diagnostic message.
getSeverity Return the severity of this diagnostic.
print [virtual]Print this diagnostic using DP.

Static Member Functions

NameDescription
classof Return true if DI is a DiagnosticInfoGeneric.

Non-Member Functions

NameDescription
wrapConvert a DiagnosticInfo pointer to an opaque LLVMDiagnosticInfoRef.