class DiagnosticInfoMIRParser
Declaration
class DiagnosticInfoMIRParser : public DiagnosticInfo { /* full declaration omitted */ };
Description
Diagnostic information for machine IR parser.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:908
Inherits from: DiagnosticInfo
Method Overview
- public DiagnosticInfoMIRParser(llvm::DiagnosticSeverity Severity, const llvm::SMDiagnostic & Diagnostic)
- public static bool classof(const llvm::DiagnosticInfo * DI)
- public const llvm::SMDiagnostic & getDiagnostic() const
- public void print(llvm::DiagnosticPrinter & DP) const
Inherited from DiagnosticInfo:
Methods
¶DiagnosticInfoMIRParser(
llvm::DiagnosticSeverity Severity,
const llvm::SMDiagnostic& Diagnostic)
DiagnosticInfoMIRParser(
llvm::DiagnosticSeverity Severity,
const llvm::SMDiagnostic& Diagnostic)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:912
Parameters
- llvm::DiagnosticSeverity Severity
- const llvm::SMDiagnostic& Diagnostic
¶static bool classof(
const llvm::DiagnosticInfo* DI)
static bool classof(
const llvm::DiagnosticInfo* DI)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:920
Parameters
- const llvm::DiagnosticInfo* DI
¶const llvm::SMDiagnostic& getDiagnostic() const
const llvm::SMDiagnostic& getDiagnostic() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:916
¶void print(llvm::DiagnosticPrinter& DP) const
void print(llvm::DiagnosticPrinter& DP) const
Description
Print using the given \p DP a user-friendly message. This is the default message that will be printed to the user. It is used when the frontend does not directly take advantage of the information contained in fields of the subclasses. The printed message must not end with '.' nor start with a severity keyword.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:918