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:937

Inherits from: DiagnosticInfo

Member Variables

private const llvm::SMDiagnostic& Diagnostic

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)

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:941

Parameters

llvm::DiagnosticSeverity Severity
const llvm::SMDiagnostic& Diagnostic

static bool classof(
    const llvm::DiagnosticInfo* DI)

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:949

Parameters

const llvm::DiagnosticInfo* DI

const llvm::SMDiagnostic& getDiagnostic() const

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:945

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:947

Parameters

llvm::DiagnosticPrinter& DP