LLVM API Documentation
#include <DiagnosticInfo.h>
Public Member Functions | |
DiagnosticInfoDebugMetadataVersion (const Module &M, unsigned MetadataVersion, DiagnosticSeverity Severity=DS_Warning) | |
const Module & | getModule () const |
unsigned | getMetadataVersion () const |
void | print (DiagnosticPrinter &DP) const override |
Static Public Member Functions | |
static bool | classof (const DiagnosticInfo *DI) |
Diagnostic information for debug metadata version reporting. This is basically a module and a version.
Definition at line 177 of file DiagnosticInfo.h.
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 187 of file DiagnosticInfo.h.
static bool llvm::DiagnosticInfoDebugMetadataVersion::classof | ( | const DiagnosticInfo * | DI | ) | [inline, static] |
Definition at line 198 of file DiagnosticInfo.h.
References llvm::DK_DebugMetadataVersion, and llvm::DiagnosticInfo::getKind().
unsigned llvm::DiagnosticInfoDebugMetadataVersion::getMetadataVersion | ( | ) | const [inline] |
Definition at line 193 of file DiagnosticInfo.h.
Referenced by print().
const Module& llvm::DiagnosticInfoDebugMetadataVersion::getModule | ( | ) | const [inline] |
Definition at line 192 of file DiagnosticInfo.h.
Referenced by print().
void DiagnosticInfoDebugMetadataVersion::print | ( | DiagnosticPrinter & | DP | ) | const [override, virtual] |
Implements llvm::DiagnosticInfo.
Definition at line 117 of file DiagnosticInfo.cpp.
References getMetadataVersion(), and getModule().