LLVM  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
llvm::DiagnosticInfoDebugMetadataVersion Class Reference

Diagnostic information for debug metadata version reporting. More...

#include "llvm/IR/DiagnosticInfo.h"

Inheritance diagram for llvm::DiagnosticInfoDebugMetadataVersion:
Inheritance graph
[legend]
Collaboration diagram for llvm::DiagnosticInfoDebugMetadataVersion:
Collaboration graph
[legend]

Public Member Functions

 DiagnosticInfoDebugMetadataVersion (const Module &M, unsigned MetadataVersion, DiagnosticSeverity Severity=DS_Warning)
 The module that is concerned by this debug metadata version diagnostic. More...
 
const ModulegetModule () const
 
unsigned getMetadataVersion () const
 
void print (DiagnosticPrinter &DP) const override
 
- Public Member Functions inherited from llvm::DiagnosticInfo
 DiagnosticInfo (int Kind, DiagnosticSeverity Severity)
 
virtual ~DiagnosticInfo ()=default
 
int getKind () const
 
DiagnosticSeverity getSeverity () const
 

Static Public Member Functions

static bool classof (const DiagnosticInfo *DI)
 

Detailed Description

Diagnostic information for debug metadata version reporting.

This is basically a module and a version.

Definition at line 230 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

◆ DiagnosticInfoDebugMetadataVersion()

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

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

The actual metadata version.

Definition at line 240 of file DiagnosticInfo.h.

Member Function Documentation

◆ classof()

static bool llvm::DiagnosticInfoDebugMetadataVersion::classof ( const DiagnosticInfo DI)
inlinestatic

◆ getMetadataVersion()

unsigned llvm::DiagnosticInfoDebugMetadataVersion::getMetadataVersion ( ) const
inline

Definition at line 246 of file DiagnosticInfo.h.

References llvm::DiagnosticInfo::print().

◆ getModule()

const Module& llvm::DiagnosticInfoDebugMetadataVersion::getModule ( ) const
inline

Definition at line 245 of file DiagnosticInfo.h.

◆ print()

void DiagnosticInfoDebugMetadataVersion::print ( DiagnosticPrinter DP) const
overridevirtual
See also
DiagnosticInfo::print.

Implements llvm::DiagnosticInfo.

Definition at line 79 of file DiagnosticInfo.cpp.


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