class DiagnosticInfoDebugMetadataVersion

Declaration

class DiagnosticInfoDebugMetadataVersion : public DiagnosticInfo { /* full declaration omitted */ };

Description

Diagnostic information for debug metadata version reporting. This is basically a module and a version.

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

Inherits from: DiagnosticInfo

Member Variables

private const llvm::Module& M
The module that is concerned by this debug metadata version diagnostic.
private unsigned int MetadataVersion
The actual metadata version.

Method Overview

Inherited from DiagnosticInfo:

Methods

DiagnosticInfoDebugMetadataVersion(
    const llvm::Module& M,
    unsigned int MetadataVersion,
    llvm::DiagnosticSeverity Severity =
        DS_Warning)

Description

\p The module that is concerned by this debug metadata version diagnostic.\p The actual metadata version.

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

Parameters

const llvm::Module& M
unsigned int MetadataVersion
llvm::DiagnosticSeverity Severity = DS_Warning

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

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

Parameters

const llvm::DiagnosticInfo* DI

unsigned int getMetadataVersion() const

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

const llvm::Module& getModule() const

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

void print(llvm::DiagnosticPrinter& DP) const

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

Parameters

llvm::DiagnosticPrinter& DP